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)
Syntax
'Declaración
Public Function IndexOf ( _
link As Link _
) As Integer
public int IndexOf(
Link link
)
public:
int IndexOf(
Link^ link
)
member IndexOf :
link:Link -> int
public function IndexOf(
link : Link
) : int
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.