ElementSetContains Method |
Tests for the existence of an element within the set.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic virtual bool Contains(
Element item
)
Public Overridable Function Contains (
item As Element
) As Boolean
public:
virtual bool Contains(
Element^ item
)
abstract Contains :
item : Element -> bool
override Contains :
item : Element -> bool
Parameters
- item Element
- The element to be searched for.
Return Value
BooleanThe Contains method returns True if the element is within the set, otherwise False.
See Also