ASP RemoveAll 메서드
❮ 완전한 사전 개체 참조
Remove 메서드는 Dictionary 개체에서 모든 키/항목 쌍을 제거합니다.
통사론
DictionaryObject.RemoveAll
예시
<%
dim d,a,i
set d=Server.CreateObject("Scripting.Dictionary")
d.Add "n","Norway"
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)
❮ 완전한 사전 개체 참조