Tests for the existence of a category within the set.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public virtual bool Contains( Category item )
Parameters
- item Category
- The category to be searched for.
Return Value
BooleanThe Contains method returns True if the category is within the set, otherwise False.