XRefId Property
For Components with a XRefType of “external”, XRefID represents the FileID of the design file associated with that component. For “internal” Components, XRefID should be set to -1.
Syntax
public System.long XRefId {get; set;}Public Property XRefId As System.Long