 | 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.ServicesAssembly: Aml.Engine.Services (in Aml.Engine.Services.dll) Version: 3.2
Syntaxpublic CAEXObject FindByPath(
CAEXDocument doc,
string caexPath,
bool resolveAlias = false
)
Public Function FindByPath (
doc As CAEXDocument,
caexPath As String,
Optional resolveAlias As Boolean = false
) As CAEXObject
public:
virtual CAEXObject^ FindByPath(
CAEXDocument^ doc,
String^ caexPath,
bool resolveAlias = false
) sealed
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
See Also