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

ElementId.Compare

Method
Description:
Compares two element ids.
Syntax
public int Compare(
	ElementId id
)
Parameters
Parameter Type Description
id ElementId The ElementId to be compared with this ElementId.
Return Value
Type Description
Int32 -1 if this element id is less than id, 0 if equal, 1 if greater.