ASP RemoveAll পদ্ধতি

অর্থনীতি ও প্রয়োগ

RemoveAll মথুদিক্ত একটি Dictionary অবজেক্ট থেকে সমস্ত key/item কেটে দেয়。

গ্রামাত্মক বিবরণ:

DictionaryObject.RemoveAll

ইনস্টান্স

<%
dim d,a,i
set d=Server.CreateObject("Scripting.Dictionary")
d.Add "c","China"
d.Add "i","Italy"
d.Add "s","Sweden"
d.RemoveAll
Response.Write("<p>Key values:</p>")
a=d.Keys
for i=0 to d.Count-1
  Response.Write(a(i))
  Response.Write("<br />")
next
set d=nothing
%>

Output:

Key values:
(nothing)