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)
Like Article
Suggest improvement
Share your thoughts in the comments
Please Login to comment...