Skip to content
Related Articles

Related Articles

ASP Dictionary.RemoveAll Method
  • Last Updated : 31 Mar, 2021

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. 

ASP




<%
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)
My Personal Notes arrow_drop_up
Recommended Articles
Page :