Compartilhar via


Método DocumentService.CreateWorkItem (TfsTeamProjectCollection, String, String, Object)

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

Sintaxe

'Declaração
Public Function CreateWorkItem ( _
    teamProjectCollection As TfsTeamProjectCollection, _
    teamProjectName As String, _
    workItemTypeName As String, _
    lockToken As Object _
) As IWorkItemDocument
public IWorkItemDocument CreateWorkItem(
    TfsTeamProjectCollection teamProjectCollection,
    string teamProjectName,
    string workItemTypeName,
    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 CreateWorkItem

Namespace Microsoft.VisualStudio.TeamFoundation.WorkItemTracking