Object: Attributes Object
Prerequisites: None
Adds an attribute to the Attributes object.
The isOat argument for this method is deprecated; however, it is still required. A runtime error will result if you do not provide the argument.
Attributes.Add (ByVal Name As String, ByVal Value As String, ByVal NameVisible As Boolean, ByVal ValueVisible As Boolean, ByVal isOat As Boolean)
String. A string that represents the attribute object name.
String. A string that represents the attribute object value.
Boolean. A Boolean value that represents the name visibility setting. If True, the attribute name is visible; if False, the attribute name is not visible.
Boolean. A Boolean value that represents the value visibility setting. If True, the attribute value is visible; if False, the attribute value is not visible.
(Deprecated) A Boolean value that represents whether the attribute has an instance value (formerly referred to as an OAT). If True, the attribute has an instance value; if False, the attribute does not have an instance value. This argument is deprecated, but still required.
' Add a property
component.Attributes.Add "TEST", "SCRIPTING", TRUE, TRUE, TRUE