ListHelpers.FindIndex Method (IList, Int32, Predicate)
Applies To: System Center Configuration Manager 2012, System Center Configuration Manager 2012
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Namespace: Microsoft.ConfigurationManagement.ApplicationManagement
Assembly: Microsoft.ConfigurationManagement.ApplicationManagement (in Microsoft.ConfigurationManagement.ApplicationManagement.dll)
Usage
'Usage
Dim list As IList(Of T)
Dim startIndex As Integer
Dim predicate As Predicate(Of T)
Dim returnValue As Integer
returnValue = ListHelpers.FindIndex(list, startIndex, predicate)
Syntax
'Declaration
<ExtensionAttribute> _
<DebuggerStepThroughAttribute> _
Public Shared Function FindIndex(Of T) ( _
list As IList(Of T), _
startIndex As Integer, _
predicate As Predicate(Of T) _
) As Integer
[ExtensionAttribute]
[DebuggerStepThroughAttribute]
public static int FindIndex<T> (
IList<T> list,
int startIndex,
Predicate<T> predicate
)
[ExtensionAttribute]
[DebuggerStepThroughAttribute]
public:
generic<typename T>
static int FindIndex (
IList<T>^ list,
int startIndex,
Predicate<T>^ predicate
)
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
ListHelpers Class
ListHelpers Members
Microsoft.ConfigurationManagement.ApplicationManagement Namespace