<完整字典對象參考
所述物品方法返回在Dictionary對象中的所有項的數組。
句法
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>Item values:</p>")
a=d.Items
for i=0 to d.Count-1
Response.Write(a(i))
Response.Write("<br>")
next
set d=nothing
%>
Output:
Item values:
Norway
Italy
Sweden
<完整字典對象參考