WorkItemResultGrid.GetItemIndex Method

return 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