 | IExternalReferenceResolverAsyncLoadOrGetReferencedDocumentAsync(ExternalReferenceType) Method |
Namespace: Aml.Engine.Services.InterfacesAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
SyntaxTask<(CAEXDocument Document, string Message)> LoadOrGetReferencedDocumentAsync(
ExternalReferenceType externalReference
)
Function LoadOrGetReferencedDocumentAsync (
externalReference As ExternalReferenceType
) As Task(Of (Document As CAEXDocument, Message As String))
Task<ValueTuple<CAEXDocument^, String^>>^ LoadOrGetReferencedDocumentAsync(
ExternalReferenceType^ externalReference
)
Parameters
- externalReference ExternalReferenceType
- the external reference
Return Value
TaskValueTupleCAEXDocument,
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