ASP Items 方法
❮ 字典对象完整参考
Items 方法返回字典对象中所有项目的数组。
语法
DictionaryObject.Items
示例
<%
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>项目值:</p>")
a=d.Items
for i=0 to d.Count-1
Response.Write(a(i))
Response.Write("<br>")
next
set d=nothing
%>
输出
项目值
Norway
Italy
Sweden
❮ 字典对象完整参考