<完整字典对象参考
Count属性返回键/项目对在Dictionary对象的数量。
句法
DictionaryObject.Count
例
<%
dim d
set d=Server.CreateObject("Scripting.Dictionary")
d.Add "n","Norway"
d.Add "i","Italy"
d.Add "s","Sweden"
Response.Write("The number of key/item pairs: " & d.Count)
set d=nothing
%>
Output:
The number of key/item pairs: 3
<完整字典对象参考