Gets the id of the top-level link which this link is linked into.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public ElementId GetRootId()
Return Value
ElementIdThe id of the top-level link which this link is ultimately linked under, or invalidElementId if this link is a top-level link.
