Export (0) Print
Expand All

WorkItemStore.GetWorkItem Method (Int32)

Gets the work item that has the specified ID.

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

'Declaration
Public Function GetWorkItem ( _
	id As Integer _
) As WorkItem

Parameters

id
Type: System.Int32

The work item ID.

Return Value

Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem
The work item that has the specified ID.

ExceptionCondition
ArgumentNullException

The id was null.

This method returns the latest state of the work item.

Show:
© 2014 Microsoft