 | ObjectWithAttributesNew_Attribute Method |
Appends a new Attribute object with the defined name to the specified CAEX object.
Namespace: Aml.Engine.CAEX.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static AttributeType New_Attribute(
this IObjectWithAttributes caexObject,
string name
)
<ExtensionAttribute>
Public Shared Function New_Attribute (
caexObject As IObjectWithAttributes,
name As String
) As AttributeType
public:
[ExtensionAttribute]
static AttributeType^ New_Attribute(
IObjectWithAttributes^ caexObject,
String^ name
)
Parameters
- caexObject IObjectWithAttributes
- The CAEX object
- name String
- the name of the new Attribute object
Return Value
AttributeTypeThe new Attribute
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).
See Also