This documentation is archived and is not being maintained.
DocumentService::GetWorkItem Method (TfsTeamProjectCollection, Int32, Object)
Visual Studio 2013
Namespace: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking
Assembly: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking (in Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.dll)
public: IWorkItemDocument^ GetWorkItem( TfsTeamProjectCollection^ teamProjectCollection, int workItemId, Object^ lockToken )
Parameters
- teamProjectCollection
- Type: Microsoft.TeamFoundation.Client::TfsTeamProjectCollection
- workItemId
- Type: System::Int32
- lockToken
- Type: System::Object
Return Value
Type: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking::IWorkItemDocumentReturns IWorkItemDocument.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: