IsTopLevel Method (IExternalReference)

IsTopLevel Method (IExternalReference) | Send Feedback
See Also

IsTopLevel[out]
  True if this external reference is a top-level reference, false if it is not

Gets whether this external reference is a top-level reference.

# Syntax

Visual Basic |
--- | ---
    Function IsTopLevel() As System.Boolean

C# |
--- | ---
    System.bool IsTopLevel()

JavaScript |
--- | ---
    IsTopLevel() : Boolean

COM native C++ |
--- | ---
    HRESULT IsTopLevel(
       VARIANT_BOOL* IsTopLevel
    )

C++ |
--- | ---
    DSRESULT IsTopLevel(
       bool* IsTopLevel
    )

#### Parameters

IsTopLevel[out] or Return Value
  True if this external reference is a top-level reference, false if it is not

# 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

# Availability

DraftSight V1R5