Share via


WorkItemLinkCollection.IList.IndexOf Method

Gets the index in this collection of the specified object.

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

Syntax

'Declaration
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 for which the index is desired.

Return Value

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

Implements

IList.IndexOf(Object)

Exceptions

Exception Condition
ArgumentNullException

The value parameter was null.

.NET Framework Security

See Also

Reference

WorkItemLinkCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace