This documentation is archived and is not being maintained.

CategoryCollection::Contains Method

Checks whether this collection contains a category that has the specified name.

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

public:
bool Contains(
	String^ name
)

Parameters

name
Type: System::String

The name of the category of interest.

Return Value

Type: System::Boolean
True if a category that has the specified name exists in this collection; otherwise, false.

Show: