Add (Properties)


Description

Add a property value to a Node object or Properties object by adding a PropertyType/variant pair to the object's Properties collection.

Syntax

someProperties.Add(indexPropertyType, aVariant)

 

Parameter Description
someProperties a Properties collection.
indexPropertyType An integer, or a string, or a PropertyType object specifying which property is being added to the Properties collection. The zero-based integer is a index into the PropertyTypes collection. Likewise, the PropertyType object must be in the PropertyTypes collection and the string must be the name of a PropertyType object in the PropertyTypes collection.
aVariant A variant value. It may be a string, double, array of string, or array of doubles.

Return Value

a variant

Example

See: Properties: an Overview

Applies To

Properties