The ElementId type exposes the following members.

Constructors

  NameDescription
Public methodElementId(Int32)
Create an ElementId handle with the given integer id.
Public methodElementId(BuiltInCategory)
Create an ElementId handle with the given BuiltInCategory id.
Public methodElementId(BuiltInParameter)
Create an ElementId handle with the given BuiltInParameter id.

Methods

  NameDescription
Public methodCompare
Compares two element ids.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Overrides Object..::..Equals(Object).)
Public methodGetHashCode
Gets the integer value of the id as hash code
(Overrides Object..::..GetHashCode()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Gets a String representation of the integer value of the id.
(Overrides Object..::..ToString()()()().)

Operators

  NameDescription
Public operatorStatic memberEquality
Determines whether these two ElementIds are the same.
Public operatorStatic memberGreaterThan
Determines whether one element id is greater than another element id.
Public operatorStatic memberGreaterThanOrEqual
Determines whether one element id is not less than another element id.
Public operatorStatic memberInequality
Determines whether these two ElementIds are different.
Public operatorStatic memberLessThan
Determines whether this element id is less than another element id.
Public operatorStatic memberLessThanOrEqual
Determines whether one element id is not greater than another element id.

Properties

  NameDescription
Public propertyIntegerValue
Provides the value of the element id as an integer.
Public propertyStatic memberInvalidElementId
Get the invalid ElementId whose IntegerValue is -1.

See Also