RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Reference

Reference.LinkedElementId

Property
Description:
The id of the top-level element in the linked document that is referred to by this reference.
Remarks:
InvalidElementId will be returned for references that don't refer to an element in a linked RVT file.
Syntax
public ElementId LinkedElementId { get; }