WorkItemCollection.IndexOf Method (WorkItem)
Gets the index of a WorkItem in this collection.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaração
Public Function IndexOf ( _
value As WorkItem _
) As Integer
public int IndexOf(
WorkItem value
)
public:
int IndexOf(
WorkItem^ value
)
member IndexOf :
value:WorkItem -> int
public function IndexOf(
value : WorkItem
) : int
Parameters
- value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem
The WorkItem of which the index is desired.
Return Value
Type: System.Int32
The index of the WorkItem. Returns -1 if no match is 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.