Name

Dictionary.RemoveAll Method

Syntax

                  dictionaryobject.RemoveAll
dictionaryobject

Use: Required

Data Subtype: Dictionary object

A reference to a Dictionary object.

Description

Clears out the dictionary; in other words, removes all keys and their associated data from the dictionary.

Programming Tips & Gotchas

If you want to remove a selected number of members rather than the entire contents of the dictionary, use the Remove method.

Get VBScript in a Nutshell 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.