ProjectCollection.Contains Method (Project)
Checks whether the specified project exists in this collection.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Function Contains ( _
value As Project _
) As Boolean
public bool Contains(
Project value
)
public:
bool Contains(
Project^ value
)
member Contains :
value:Project -> bool
public function Contains(
value : Project
) : boolean
Parameters
value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.ProjectThe project object of interest.
Return Value
Type: System.Boolean
True if the project exists in this collection; otherwise, false.
.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.