RVTDocs.com

SelectionFilterElement.Contains

Method
Description:
Returns true if the given ElementId is a member of this filter's set.
Syntax
public bool Contains(
	ElementId id
)
Parameters
Parameter Type Description
id ElementId The ElementId to look for.
Return Value
Type Description
Boolean True if the given ElementId is a member of the filter, otherwise false.
Exceptions
Exception Condition
ArgumentException Invalid ElementId
ArgumentNullException A non-optional argument was null