Namespace:
Microsoft.ConfigurationManagement.ApplicationManagement
Assembly:
Microsoft.ConfigurationManagement.ApplicationManagement (in
Microsoft.ConfigurationManagement.ApplicationManagement.dll)
Usage
Visual Basic |
Dim list As IList(Of T)
Dim predicate As Predicate(Of T)
Dim returnValue As Integer
returnValue = ListHelpers.FindIndex(list, predicate)
|
Syntax
Visual Basic |
<DebuggerStepThroughAttribute> _
<ExtensionAttribute> _
Public Shared Function FindIndex(Of T) ( _
list As IList(Of T), _
predicate As Predicate(Of T) _
) As Integer
|
C# |
[DebuggerStepThroughAttribute]
[ExtensionAttribute]
public static int FindIndex<T> (
IList<T> list,
Predicate<T> predicate
)
|
C++ |
[DebuggerStepThroughAttribute]
[ExtensionAttribute]
public:
generic<typename T>
static int FindIndex (
IList<T>^ list,
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