Click or drag to resize

AmlObjectsExtensionsAMLAttributes Method

Conversion of any object which has an attribute collection to get access to specific AutomationML defined attributes.

Namespace: Aml.Engine.AmlObjects.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static ObjectWithAMLAttributes AMLAttributes(
	this IObjectWithAttributes caexObject
)

Parameters

caexObject  IObjectWithAttributes
The CAEX object, providing the attribute collection.

Return Value

ObjectWithAMLAttributes
The 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
ExceptionCondition
ArgumentNullExceptioncaexObject
See Also