 | AmlObjectsExtensionsAMLAttributes Method |
Conversion of any object which has an attribute collection to get access
to specific AutomationML defined attributes.
Namespace: Aml.Engine.AmlObjects.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static ObjectWithAMLAttributes AMLAttributes(
this IObjectWithAttributes caexObject
)
<ExtensionAttribute>
Public Shared Function AMLAttributes (
caexObject As IObjectWithAttributes
) As ObjectWithAMLAttributes
public:
[ExtensionAttribute]
static ObjectWithAMLAttributes^ AMLAttributes(
IObjectWithAttributes^ caexObject
)
Parameters
- caexObject IObjectWithAttributes
- The CAEX object, providing the attribute collection.
Return Value
ObjectWithAMLAttributesThe ObjectWithAMLAttributes which provides accessors for AutomationML defined attributes.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IObjectWithAttributes. 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