This documentation is archived and is not being maintained.

LinkCollection::IndexOf Method

Gets the index of the specified Link object in this collection.

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

public:
int IndexOf(
	Link^ link
)

Parameters

link
Type: Microsoft.TeamFoundation.WorkItemTracking.Client::Link

The Link object for which the index is desired.

Return Value

Type: System::Int32
The index of the specified Link object. Returns -1 if the object was not found.

Show: