Click or drag to resize

AmlObjectsExtensionsNew_FrameAttribute Method

Creates a new Frame attribute for the IObjectWithAttributes if no Frame attribute exists. The provided values are used to initialize the Frame attribute values.

Namespace: Aml.Engine.AmlObjects.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static FrameAttributeType New_FrameAttribute(
	this IObjectWithAttributes caexObject,
	FrameValues frameValues = null
)

Parameters

caexObject  IObjectWithAttributes
The CAEX object.
frameValues  FrameValues  (Optional)
The frame values.

Return Value

FrameAttributeType
the new FrameAttributeType.

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
ArgumentNullExceptioncaexObject
See Also