METHOD:  Dictionary.Remove

Implemented in version 2.0
 
object.Remove (keyvalue)
 
The Remove method is used to remove a single key/item pair from the specified Dictionary object.

Code:
<%
dim guitars
set guitars=CreateObject("Scripting.Dictionary")
guitars.Add "e", "Epiphone"
guitars.Add "f", "Fender"
guitars.Add "g", "Gibson"
guitars.Add "h", "Harmony"
guitars.Remove("g")

%>

 
Output:
"Epiphone"
"Fender"
"Harmony"


Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information