Description

The McDBAttributes collection is a set of the values of Attributes (of types defined by McDBAttributeType instances), that are associated with an McDBNode instance.

Remarks

McDBAttributes collections differ from other collection objects because there is no McDBAttribute [item] object. That is, the collection members represent both index and value. Therefore, the enumerator for the collection returns index values (i.e. the names of the attributes in the collection) whereas the Item property returns a Variant containing the value of the attribute at the specified Index. If type information about an attribute is required, it must be extracted from the corresponding McDBAttributeType object. For example, <Attributes>.Type(<Attribute Index>).Type

Members

Methods
Add

Create a new attribute [value] in this McDBAttributes collection.

Remove

Delete a named attribute in this McDBNode.Attributes collection.


Properties
CountRead-only property

The number of actual (instantiated) attribute values in this McDBAttributes collection.

ItemRead-write property

Set or retrieve the value of a particular attribute.

TypeRead-only property

Return the McDBAttributeType object describing the type of the named attribute.