Namespace:
Autodesk.Revit.DB
LinkElementId
Class
Description:
LinkElementId represents an element in a linked document.
LinkElementId represents an element in a linked document.
Remarks:
The id contains two element ids:
The id contains two element ids:
- The id of the linked model element in host document.
- The id of the element in the linked model document.
LinkElementId Class Members:
| Name | Description | Inherited From |
|---|---|---|
| LinkElementId(ElementId) | Creates a new LinkElementId representing an element in the host document. | |
| LinkElementId(ElementId, ElementId) | Creates a new LinkElementId representing an element in a linked document. |
| Name | Description | Inherited From |
|---|---|---|
| HostElementId | The id of the element in the host, or invalidElementId if there is a link. | |
| LinkedElementId | The id of the element in the link, or invalidElementId if no link. | |
| LinkInstanceId | The id of the link, or invalidElementId if no link. |
| Name | Description | Inherited From |
|---|---|---|
| Equals | Determines whether the specified Object is equal to the current Object . (Overrides Object . Equals(Object) ) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | Gets the Type of the current instance. (Inherited from Object ) | Object |
| ToString | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Description | Inherited From |
|---|---|---|
| Equality(LinkElementId, LinkElementId) | Determines whether these two LinkElementIds are the same. | |
| Inequality(LinkElementId, LinkElementId) | Determines whether these two LinkElementIds are different. |