Dictionary.Remove Method (VB6)

Named Arguments

Yes

Syntax

dictionaryobject.Remove key


dictionaryobject

Use: Required

Data Type: Dictionary object

A reference to a Dictionary object.


key

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset