Click or drag to resize

LookupServiceFindByPath Method

Locates a CAEX object in the provided document using the specified CAEX - Path for identification. 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
Assembly: Aml.Engine.Services (in Aml.Engine.Services.dll) Version: 3.2
Syntax
public CAEXObject FindByPath(
	CAEXDocument doc,
	string caexPath,
	bool resolveAlias = false
)

Parameters

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

Return Value

CAEXObject
The first object which is found (if the path is not a unique identifier, than more than this object may exist).

Implements

IQueryFindByPath(CAEXDocument, String, Boolean)
Exceptions
ExceptionCondition
ArgumentNullExceptiondoc
See Also