<完整字典对象参考
钥匙方法返回在Dictionary对象的所有键的阵列。
句法
DictionaryObject.Keys
例
<%
dim d,a,i
set d=Server.CreateObject("Scripting.Dictionary")
d.Add "n","Norway"
d.Add "i","Italy"
d.Add "s","Sweden"
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:
n
i
s
<完整字典对象参考