共用方式為


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

'宣告
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

Return Value

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

.NET Framework Security

See Also

Reference

LinkCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace