Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ConfiguredEndpointCollection Dim item As ConfiguredEndpoint Dim value As Integer value = instance.IndexOf(item) |
C# | |
---|---|
public int IndexOf( ConfiguredEndpoint item ) |
Parameters
- item
- The object to locate in the IList.
Return Value
The index of item if found in the list; otherwise, -1.Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x