 | AMLEngineAdaptergetReferencedClass Method |
Note: This API is now obsolete.
Getting the XML Node for a class path.
Namespace: Aml.Engine.AdapterAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax[ObsoleteAttribute("Use the FindByPath method from the CAEXDocument or the Services.ServiceLocator.QueryService.FindByPath method instead",
false)]
public static XElement getReferencedClass(
this CAEXBasicObject caexObject,
string referencedClassPath
)
<ExtensionAttribute>
<ObsoleteAttribute("Use the FindByPath method from the CAEXDocument or the Services.ServiceLocator.QueryService.FindByPath method instead",
false)>
Public Shared Function getReferencedClass (
caexObject As CAEXBasicObject,
referencedClassPath As String
) As XElement
public:
[ExtensionAttribute]
[ObsoleteAttribute(L"Use the FindByPath method from the CAEXDocument or the Services.ServiceLocator.QueryService.FindByPath method instead",
false)]
static XElement^ getReferencedClass(
CAEXBasicObject^ caexObject,
String^ referencedClassPath
)
Parameters
- caexObject CAEXBasicObject
- The CAEX object.
- referencedClassPath String
- The full path to the referenced class. Hierarchies are separated via slash "/"
Return Value
XElement
The XML Node of the desired class, or null if none found. Use FindFastByID for speed optimizations.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
CAEXBasicObject. 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