Dictionary Remove Method VB

Named Arguments


Syntax dictionaryobject .Remove key dictionaryobject Use: Required

if a


Data Type: Dictionary object

A reference to a Dictionary object.

Dictionary.Remove Method (VB6)


VB & VBA in a Nutshell: The Language, eMatter Edition Copyright © 2000 O'Reilly & Associates, Inc. All rights reserved.

Use: Required Data Type: String

The key associated with the item to be removed. Description

Removes both the specified key and its associated data (i.e., its item) from the dictionary.

Rules at a Glance

If key doesn't exist, runtime error 32811, "Method 'Remove' of object 'IDictionary' failed," occurs.

Was this article helpful?

0 -1

Post a comment