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.StringThe name of the project of interest.
Return Value
Type: System.Boolean
True if the specified project exists in this collection.
.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.