CimClassAttributeList.Add (method)

Adds the attribute.
Syntax: Set CimClassAttribute = object.Add ( AttributeID )
Parameters:
AttributeID As String - Attribute to be added to the list.
Description: CimClassAttributeList.Add adds a CimClassAttribute to the class by name.

Examples

Dim class As CimClassInstance
Dim attrib As CimClassAttribute
Set attrib = class.Attributes.Add("LOCATION")