ProjectCollection.Contains Method (String)

Checks whether the project that is specified by its name exists in this collection.

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


Public Function Contains ( _
    projectName As String _
) As Boolean
public bool Contains(
    string projectName
bool Contains(
    String^ projectName
member Contains : 
        projectName:string -> bool
public function Contains(
    projectName : String
) : boolean


  • projectName
    Type: System.String

    The name of the project of interest.

Return Value

Type: System.Boolean
True if the specified project exists in this collection.

.NET Framework Security

See Also


ProjectCollection Class

Contains Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace