[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Determines the index of a specific item in the IList < (Of < ( <' T > ) > ) > .

Namespace:  Microsoft.ConfigurationManagement.Messaging.Messages.Server
Assembly:  Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
int 
IndexOf(
	
string 
item
)
Public 
Function 
IndexOf ( _
	
item 
As 
String _
) 
As 
Integer
public:
virtual 
int 
IndexOf(
	
String^ 
item
) 
sealed

Parameters

item
String
The object to locate in the IList < (Of < ( <' T > ) > ) > .

Return Value

The index of itemif found in the list; otherwise, -1.

Implements

IList < (Of < ( <' T > ) > ) > . . :: . . IndexOf(T)

See Also