Partager via


DocumentService.ContainsWorkItem Method (TfsTeamProjectCollection, Int32)

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

Syntax

'Declaration
Public Function ContainsWorkItem ( _
    teamProjectCollection As TfsTeamProjectCollection, _
    id As Integer _
) As Boolean
public bool ContainsWorkItem(
    TfsTeamProjectCollection teamProjectCollection,
    int id
)
public:
bool ContainsWorkItem(
    TfsTeamProjectCollection^ teamProjectCollection, 
    int id
)
member ContainsWorkItem : 
        teamProjectCollection:TfsTeamProjectCollection * 
        id:int -> bool
public function ContainsWorkItem(
    teamProjectCollection : TfsTeamProjectCollection, 
    id : int
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

DocumentService Class

ContainsWorkItem Overload

Microsoft.VisualStudio.TeamFoundation.WorkItemTracking Namespace