Click or drag to resize

IQueryFindByPath Method

Tries to locates a CAEX object from the specified CAEX - Path. If the path uses an alias reference and an IExternalReferenceResolver can be located, it is tried to resolve the external reference and to get the object from the external source.

Namespace: Aml.Engine.Services.Interfaces
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
CAEXObject FindByPath(
	CAEXDocument caexDocument,
	string path,
	bool resolveAlias = false
)

Parameters

caexDocument  CAEXDocument
The document.
path  String
The path.
resolveAlias  Boolean  (Optional)
if set to true tries to resolve an alias reference with an ExternalReferenceResolver service.

Return Value

CAEXObject
The CAEXObject if it is found; otherwise null.
Remarks
The resolveAlias is ignored. If the ExternalReferenceResolver is registered, the alias references are always resolved.
See Also