Description

Read-only property returning the name of the specified property.

Property type

A String value.  

Syntax

object.ItemName(NameID, [NameSpace])

The ItemName Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McProperties.
NameIDRequired. A Variant value.

The property name (as a String) or index (as a Long)

NameSpaceOptional. A String value.

Optional namespace. Namespaces can be used to avoid name conficts between different properties with identical names. When this optional parameter is not supplied, the current NamespaceFilter is used. The Name Space is ignored if NameID is an index.

Remarks

Although the NameID can be either the name or the index of the property within the current set, this property will typically be used to get the property's name using its index (since if you already have the name you don't need to ask for it).