 | IQueryFindByID Method |
Tries to locate a CAEX object from the specified ID.
If the ID 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 FindByID(
CAEXDocument doc,
string id,
bool resolveAlias = false
)
Function FindByID (
doc As CAEXDocument,
id As String,
Optional resolveAlias As Boolean = false
) As CAEXObject
CAEXObject^ FindByID(
CAEXDocument^ doc,
String^ id,
bool resolveAlias = false
)
Parameters
- doc CAEXDocument
- The document.
- id String
- The identifier.
- resolveAlias Boolean (Optional)
-
if set to true tries to resolve an alias reference with an ExternalReferenceResolver
service.
Return Value
CAEXObject
The CAEX object if it is found; otherwise
null.
See Also