A.6. Dictionary Object (VB6 Only)

Add Method

Adds an item to the dictionary against a given key

CompareMode Property

Returns or sets the comparison mode

Count Property

Returns the number of items in the dictionary

Exists Method

Returns True if the key exists

Item Property

Returns or sets the item associated with a given key

Items Method

Returns an array of all items in the dictionary

Key Property

Returns or sets a given key

Keys Method

Returns an array of all keys in the dictionary

Remove Method

Removes an item associated with a given key

RemoveAll Method

Removes all items from the dictionary

Get VB & VBA in a Nutshell: The Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.