 | 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.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static FrameAttributeType New_FrameAttribute(
this IObjectWithAttributes caexObject,
FrameValues frameValues = null
)
<ExtensionAttribute>
Public Shared Function New_FrameAttribute (
caexObject As IObjectWithAttributes,
Optional frameValues As FrameValues = Nothing
) As FrameAttributeType
public:
[ExtensionAttribute]
static FrameAttributeType^ New_FrameAttribute(
IObjectWithAttributes^ caexObject,
FrameValues^ frameValues = nullptr
)
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
See Also