 | CAEXBasicObjectExtensionsFindReferencedClassT Method |
Finds the CAEX object with the specified CAEX path and the specified Type.
Namespace: Aml.Engine.CAEX.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static T FindReferencedClass<T>(
this ICAEXWrapper caexObject,
string caexPath
)
where T : CAEXBasicObject
<ExtensionAttribute>
Public Shared Function FindReferencedClass(Of T As CAEXBasicObject) (
caexObject As ICAEXWrapper,
caexPath As String
) As T
public:
[ExtensionAttribute]
generic<typename T>
where T : CAEXBasicObject
static T FindReferencedClass(
ICAEXWrapper^ caexObject,
String^ caexPath
)
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
See Also