This documentation is archived and is not being maintained.

WorkItemStore.GetWorkItem Method

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.

  NameDescription
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

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

Show: