CategorySetContains Method

Tests for the existence of a category within the set.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public virtual bool Contains(
	Category item
)

Parameters

item  Category
The category to be searched for.

Return Value

Boolean
The Contains method returns True if the category is within the set, otherwise False.
See Also