Tests for the existence of an element within the set.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
| C# |
|---|
public virtual bool Contains( Element item ) |
| Visual Basic |
|---|
Public Overridable Function Contains ( _ item As Element _ ) As Boolean |
| Visual C++ |
|---|
public: virtual bool Contains( Element^ item ) |
Parameters
- item
- Type: Autodesk.Revit.DB..::..Element
The element to be searched for.