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)

public WorkItem GetWorkItem(
	int id
)

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.

Community Additions

ADD
Show:
© 2014 Microsoft