|
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 wsdot_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
The WSDOT Custom Scripts from the script repository must be loaded into the document.
|