ASP RemoveAll मथड़ा

परिभाषा और उपयोग

RemoveAll मथड़ा एक Dictionary ऑब्जैक्ट से सभी key/item को हटा देता है。

व्याकरण:

DictionaryObject.RemoveAll

उदाहरण

<%
dim d,a,i
set d=Server.CreateObject("Scripting.Dictionary")
d.Add "c","चीन"
d.Add "i","इटली"
d.Add "s","स्वीडन"
d.RemoveAll
Response.Write("<p>की वैल्यूज़:</p>")
a=d.Keys
फ़ोर i=0 तक d.Count-1
  Response.Write(a(i))
  Response.Write("<br />")
नेक्स्ट
सेट d=nothing
%>

आउटपुट:

की वैल्यूज़
(कुछ नहीं)