Skip to content
This repository has been archived by the owner on Jun 22, 2019. It is now read-only.

M_CAEX_ClassModel_ExternalReferenceType_LoadOrGetReferencedDocument

AutomationML edited this page Feb 23, 2017 · 2 revisions

ExternalReferenceType.LoadOrGetReferencedDocument Method

Loads the external reference in a new CAEXDocument, which will be added to the ReferencedDocuments of the current CAEXDocument. The new CAEXDocument is a separate document and no libraries are merged to the current document. This Method doesn't change any references, which use the alias of this external reference. Use the Merge Reference Method ResolveReference() to achieve this. If this instance doesn't have an alias, the document is not loaded. If a referenced document for this alias already exists, the existing document is returned.

Namespace: CAEX_ClassModel
Assembly: AMLEngine (in AMLEngine.dll) Version: 3.5

Syntax

C#

public CAEXDocument LoadOrGetReferencedDocument()

C++

public:
CAEXDocument^ LoadOrGetReferencedDocument()

Return Value

Type: CAEXDocument

See Also

Reference

ExternalReferenceType Class
CAEX_ClassModel Namespace

  • Introduction
  • [Version History](Version history)
    • [Version 3.5](Version 3.4)
    • [Version 3.1](Version 3.0)
    • [Version 2.1](Version 2.1)
    • [Version 2.0](Version 2.0)
  • [Getting Started](Getting started)
  • Examples
  • AMLEngine API
BEST Practice Content

Extensions

CAEX Elements

AutomationML

Utilities

Interfaceclasses

Exceptions

Objecttables and Document validation

Clone this wiki locally