Share via


PickWorkItemsControl.GetWorkItemIndex Method

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

See Also

Reference

PickWorkItemsControl Class

Microsoft.TeamFoundation.WorkItemTracking.Controls Namespace