VoiceChange news Content of documentation User documentation Administrator documentation Index of terms Technical Support Search on-line

VoiceChange COM objects reference - main list
Object DSVariantCollection

Description

Touple key and value. Key is a text string, value is variant.

Attributes

Attribut Description
Count The number od valuse in collection.
Item One parameter is added (for example Collection.Item(3) to the attribute. If the attribute is a number, the value of item with the attribute index is returned. If the attribute is text string, value of item with corresponding key is returned. It is possible to use the item even for storing the value (for example Collection.Item(3) = "value"). Item is implicit attribute, so only Collection(3) = "value" is necessary.
uniq Value True allows inserting multiple items with the same key.
AutoAdd Value True allows automaticaly add pair into collection if the argument key of a method does not exist.

Methods

Method Description
Add Adding a value. 
AddFromString Adding values from parameter string.
Clear Remove all values from collection.
CreateNew Create new empty collection.
Delete Delete value from collection.
Find Find the index of a key.
Key Find the key according to index.
AsString Returns parameter string from values of collection.
ReadVXIni Read the values from INI file.
Sort Sort pairs according to key or value.