GetParents Method (IExternalReference)

GetParents Method (IExternalReference) | Send Feedback
See Also

ExternalReferenceArray[out]
  Array of parent external references

Gets the parent external references for the external reference.

# Syntax

Visual Basic |
--- | ---
    Function GetParents() As System.Object

C# |
--- | ---
    System.object GetParents()

JavaScript |
--- | ---
    GetParents() : Array

COM native C++ |
--- | ---
    HRESULT GetParents(
       VARIANT* ExternalReferenceArray
    )

C++ |
--- | ---
    DSRESULT GetParents(
       dsObjectPtrArray* ExternalReferenceArray
    )

#### Parameters

ExternalReferenceArray[out] or Return Value
  Array of parent external references

# Remarks

IExternalReference::GetParents gets all parent external references as an array of external references. However, a parent external reference might not be a top-level external reference (e.g., an external reference might have more than one parent). Use IExternalReference::IsTopLevel to determine if a parent external reference is a top-level reference.

# See Also

####

IExternalReference Interface
IExternalReference Members
IExternalReference::GetChildren Method

# Availability

DraftSight V1R1