Compartilhar via


Método DocumentService.GetWorkItem (TfsTeamProjectCollection, Int32, Object)

Namespace:  Microsoft.VisualStudio.TeamFoundation.WorkItemTracking
Assembly:  Microsoft.VisualStudio.TeamFoundation.WorkItemTracking (em Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.dll)

Sintaxe

'Declaração
Public Function GetWorkItem ( _
    teamProjectCollection As TfsTeamProjectCollection, _
    workItemId As Integer, _
    lockToken As Object _
) As IWorkItemDocument
public IWorkItemDocument GetWorkItem(
    TfsTeamProjectCollection teamProjectCollection,
    int workItemId,
    Object lockToken
)

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.IWorkItemDocument
Retorna IWorkItemDocument.

Segurança do .NET Framework

Consulte também

Referência

DocumentService Classe

Sobrecargas GetWorkItem

Namespace Microsoft.VisualStudio.TeamFoundation.WorkItemTracking