Click or drag to resize

CAEXBasicObjectExtensionsFindReferencedClassT Method

Finds the CAEX object with the specified CAEX path and the specified Type.

Namespace: Aml.Engine.CAEX.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static T FindReferencedClass<T>(
	this ICAEXWrapper caexObject,
	string caexPath
)
where T : CAEXBasicObject

Parameters

caexObject  ICAEXWrapper
CAEX object, used to identify the document for the search.
caexPath  String
The CAEX path of the searched CAEX object.

Type Parameters

T
CAEX element type of the searched CAEX object.

Return Value

T
CAEX object with the given path or null, if not found.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICAEXWrapper. 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).
Exceptions
ExceptionCondition
ArgumentNullExceptioncaexObject
See Also