|
Dictionary.RemoveAll Method
The RemoveAll method removes all key, item pairs from a Dictionary object.
object.RemoveAll ( )
Arguments
- object
- Required. Always the name of a Dictionary object.
Remarks
The following example illustrates the use of the RemoveAll method.
var a, d, i; // Create some variables.
d = new Application.Dictionary();
d.Add ("a", "Athens"); // Add some keys and items.
d.Add ("b", "Belgrade");
d.Add ("c", "Cairo");
...
d.RemoveAll( ); // Clear the dictionary.
Applies To:
Dictionary Object
Requirements
|