Partilhar via


WorkItemTypeCollection.IndexOf Method

Gets the index of the specified WorkItemType in this collection.

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

Syntax

'Declaration
Public Function IndexOf ( _
    value As WorkItemType _
) As Integer
public int IndexOf(
    WorkItemType value
)
public:
int IndexOf(
    WorkItemType^ value
)
member IndexOf : 
        value:WorkItemType -> int
public function IndexOf(
    value : WorkItemType
) : int

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

WorkItemTypeCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace