CimClassAttributeList.Item (read-only property)

Retrieve an attribute by name.
Syntax: Set CimClassAttribute = object.Item ( AttributeID )
AttributeID As String - Attribute to find.
Description: CimClassAttributeList.Item returns a CimClassAttribute by name. Use this method to obtain a CimClassAttribute for an existing attribute in the list.


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