Partager via


LinkCollection.IList.IndexOf Method

Gets the index of the specified object in this collection.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'Déclaration
Private Function IndexOf ( _
    value As Object _
) As Integer Implements IList.IndexOf
int IList.IndexOf(
    Object value
)
private:
virtual int IndexOf(
    Object^ value
) sealed = IList::IndexOf
private abstract IndexOf : 
        value:Object -> int 
private override IndexOf : 
        value:Object -> int 
JScript does not support explicit interface implementations.

Parameters

  • value
    Type: System.Object
    The object of which the index is desired.

Return Value

Type: System.Int32
The index of the specified object in this collection.

Implements

IList.IndexOf(Object)

.NET Framework Security

See Also

Reference

LinkCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace