Element |
The ElementId type exposes the following members.
| Name | Description | |
|---|---|---|
| ElementId(BuiltInCategory) | Create an ElementId handle with the given BuiltInCategory id. | |
| ElementId(BuiltInParameter) | Create an ElementId handle with the given BuiltInParameter id. | |
| ElementId(Int64) | Create an ElementId handle with the given 64-bit integer id. |
| Name | Description | |
|---|---|---|
| InvalidElementId | Get the invalid ElementId whose value is -1. | |
| Value | Provides the value of the element id as a 64-bit integer. |
| Name | Description | |
|---|---|---|
| Compare | Compares two element ids. | |
| CompareTo | Compares two element ids. Implementation of System.IComparable interface | |
| Equals | Determines whether the specified Object is equal to the current Object. (Overrides ObjectEquals(Object)) | |
| GetHashCode |
Gets the value of the id as hash code
(Overrides ObjectGetHashCode) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Parse | Parse the string representation of the id into a corresponding ElementId. | |
| ToString |
Gets a String representation of the value of the id.
(Overrides ObjectToString) | |
| TryParse | Parse the string representation of the id into a corresponding ElementId. |
| Name | Description | |
|---|---|---|
| Equality(ElementId, ElementId) | Determines whether these two ElementIds are the same. | |
| GreaterThan(ElementId, ElementId) | Determines whether one element id is greater than another element id. | |
| GreaterThanOrEqual(ElementId, ElementId) | Determines whether one element id is not less than another element id. | |
| Inequality(ElementId, ElementId) | Determines whether these two ElementIds are different. | |
| LessThan(ElementId, ElementId) | Determines whether this element id is less than another element id. | |
| LessThanOrEqual(ElementId, ElementId) | Determines whether one element id is not greater than another element id. |