Partager via


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)

Syntax

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

Parameters

  • 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

Reference

ProjectCollection Class

Contains Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace