 | 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.InterfacesAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
SyntaxCAEXObject FindByPath(
CAEXDocument caexDocument,
string path,
bool resolveAlias = false
)
Function FindByPath (
caexDocument As CAEXDocument,
path As String,
Optional resolveAlias As Boolean = false
) As CAEXObject
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
CAEXObjectThe 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