Share

ElementSet.Contains Method

Tests for the existence of an element within the set.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public virtual bool Contains(
	Element item
)

Parameters

item  Element
The element to be searched for.

Return Value

Boolean
The Contains method returns True if the element is within the set, otherwise False.

See Also

Reference

Was this information helpful?