LinkElementId
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.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.LinkElementId
System.Object
Autodesk.Revit.DB.LinkElementId
public class LinkElementId
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| LinkElementId(ElementId) | None | Creates a new LinkElementId representing an element in the host document. | |
| LinkElementId(ElementId, ElementId) | None | Creates a new LinkElementId representing an element in a linked document. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Equals(Object) | Boolean | Determines whether the specified Object is equal to the current Object . (Overrides Object . Equals(Object) ) | |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Equality(LinkElementId, LinkElementId) | Boolean | Determines whether these two LinkElementIds are the same. | |
| Inequality(LinkElementId, LinkElementId) | Boolean | Determines whether these two LinkElementIds are different. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| HostElementId | ElementId | The id of the element in the host, or invalidElementId if there is a link. | |
| LinkedElementId | ElementId | The id of the element in the link, or invalidElementId if no link. | |
| LinkInstanceId | ElementId | The id of the link, or invalidElementId if no link. |