GetExternalReferences Method (IDocument)

GetExternalReferences Method (IDocument) | Send Feedback
See Also

ExternalReferenceArray[out]
  Array of external references

Gets the external references for the document.

# Syntax

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

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

JavaScript |
--- | ---
    GetExternalReferences() : Array

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

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

#### Parameters

ExternalReferenceArray[out] or Return Value
  Array of external references

# Example

This code snippet shows how to get the document's external references.

#### COM native C++

_variant_t pVariantArray = dsDoc->GetExternalReferences();
if( V_VT( &pVariantArray ) != VT_EMPTY )
{

. . .

}

# See Also

####

IDocument Interface
IDocument Members

# Availability

DraftSight V1R1