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
id
Type: System.Int32The work item ID.
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
- 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.
See Also
Reference
Microsoft.TeamFoundation.WorkItemTracking.Controls Namespace