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
- teamProjectCollection
Type: Microsoft.TeamFoundation.Client.TfsTeamProjectCollection
- id
Type: System.Int32
Return Value
Type: System.Boolean
Returns Boolean.
.NET Framework Security
- 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.
See Also
Reference
Microsoft.VisualStudio.TeamFoundation.WorkItemTracking Namespace