The ASP Dictionary.RemoveAll Method is used to remove all the key-value pairs from a Dictionary Object.
Syntax:
DictionaryObject.RemoveAll
Example Code: Below code demonstrates the ASP Dictionary.RemoveAll Method.
<%
dim d,a,i
set d=Server.CreateObject("Scripting.Dictionary")
d.Add "m","mango"
d.Add "n","naman"
d.Add "b",""banana>")
next
set d=nothing
%>
Output:
Key values: (nothing)