ElementId Members


The ElementId type exposes the following members.

Constructors

  NameDescription
Public methodElementId(Int32) Obsolete.
Create an ElementId handle with the given 32-bit integer id.
Public methodElementId(Int64)
Create an ElementId handle with the given 64-bit 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 ObjectEquals(Object).)
Public methodGetHashCode
Gets the value of the id as hash code
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberParse
Parse the string representation of the id into a corresponding ElementId.
Public methodToString
Gets a String representation of the value of the id.
(Overrides ObjectToString.)
Public methodStatic memberTryParse
Parse the string representation of the id into a corresponding ElementId.

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 Obsolete.
Provides the value of the element id as a 32-bit integer.
Public propertyStatic memberInvalidElementId
Get the invalid ElementId whose value is -1.
Public propertyValue
Provides the value of the element id as a 64-bit integer.

See Also