Gets the id of this link's immediate parent.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public ElementId GetParentId()
Return Value
ElementIdThe id of the immediate parent of this link, or invalidElementId if this link is a top-level link.
