 | IExternalReferenceResolverLoadOrGetReferencedDocument(ExternalReferenceType) Method |
Loads a CAEXDocument, referenced by the external reference. 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
IMerge service to achieve this.
Namespace: Aml.Engine.Services.InterfacesAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax(CAEXDocument Document, string Message) LoadOrGetReferencedDocument(
ExternalReferenceType externalReference
)
Function LoadOrGetReferencedDocument (
externalReference As ExternalReferenceType
) As (Document As CAEXDocument, Message As String)
ValueTuple<CAEXDocument^, String^> LoadOrGetReferencedDocument(
ExternalReferenceType^ externalReference
)
Parameters
- externalReference ExternalReferenceType
- the external reference
Return Value
ValueTupleCAEXDocument,
String
If the ExternalReference doesn't have an alias, the document is not loaded. If a referenced document for the alias
already exists, the existing document is returned. If
the reference could not be resolved, a message is returned.
See Also