RVTDocs.com
Namespace: Autodesk.Revit.DB Class: ElementSet

ElementSet.Contains

Method
Description:
Tests for the existence of an element within the set.
Syntax
public virtual bool Contains(
	Element item
)
Parameters
Parameter Type Description
item Element The element to be searched for.
Return Value
Type Description
Boolean The Contains method returns True if the element is within the set, otherwise False.