Share via


WorkItemResultGrid.GetItemIndex Method

Returns the item index with this ID.

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

Syntax

'Declaration
Protected Function GetItemIndex ( _
    id As Integer _
) As Integer
protected int GetItemIndex(
    int id
)
protected:
int GetItemIndex(
    int id
)
member GetItemIndex : 
        id:int -> int
protected function GetItemIndex(
    id : int
) : int

Parameters

Return Value

Type: System.Int32
The index of the first item that has a match to this ID, -1 if not found.

.NET Framework Security

See Also

Reference

WorkItemResultGrid Class

Microsoft.TeamFoundation.WorkItemTracking.Controls Namespace