 | CAEXDocumentExtensionsFindByPath 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.CAEX.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static CAEXObject FindByPath(
this CAEXDocument document,
string caexPath,
bool resolveAlias = false
)
<ExtensionAttribute>
Public Shared Function FindByPath (
document As CAEXDocument,
caexPath As String,
Optional resolveAlias As Boolean = false
) As CAEXObject
public:
[ExtensionAttribute]
static CAEXObject^ FindByPath(
CAEXDocument^ document,
String^ caexPath,
bool resolveAlias = false
)
Parameters
- document CAEXDocument
- The document.
- caexPath String
- The CAEX 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.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
CAEXDocument. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also