Gets the display index of given work item.
Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Controls
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Controls (in Microsoft.TeamFoundation.WorkItemTracking.Controls.dll)
Syntax
'Declaration
Public Function GetWorkItemIndex ( _
    workItemId As Integer _
) As Integer
public int GetWorkItemIndex(
    int workItemId
)
public:
int GetWorkItemIndex(
    int workItemId
)
member GetWorkItemIndex : 
        workItemId:int -> int
public function GetWorkItemIndex(
    workItemId : int
) : int
Parameters
- workItemId 
 Type: System.Int32- ID of the work item to get the display index. 
Return Value
Type: System.Int32
Display index of given work item.
.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