Dictionary.RemoveAll Method (VB6)

Named Arguments

Yes

Syntax

dictionaryobject.RemoveAll

dictionaryobject

Use: Required

Data Type: 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 and Gotchas

Analogous to the Collection object's Clear method.

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.