WorkItemStore.GetWorkItem Method

Include Protected Members
Include Inherited Members

Returns a WorkItem from the Team Foundation server.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

 

Name

Description

Public method

GetWorkItem(Int32)

Returns the WorkItem specified by the ID.

Public method

GetWorkItem(Uri)

Returns the WorkItem that has the specified Team Foundation Server URI.

Public method

GetWorkItem(Int32, DateTime)

Returns the WorkItem revision that has the specified ID and that was revised on the specified date at the specified time.

Public method

GetWorkItem(Int32, Int32)

Returns the WorkItem revision that has the specified ID as of the specified revision number.

Public method

GetWorkItem(Uri, DateTime)

Returns the WorkItem revision that has the specified URI and that was revised on the specified date at the specified time.

Public method

GetWorkItem(Uri, Int32)

Returns the WorkItem revision that has the specified URI as of the specified revision number.

Top

Remarks

The WorkItem is read-only unless the WorkItem opened is the latest revision.

See Also

Reference

WorkItemStore Class

WorkItemStore Members

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace