Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

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: 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.