Click or drag to resize

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.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static CAEXObject FindByPath(
	this 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

CAEXObject
The 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