ASP Count 属性
❮ 完整 Dictionary 对象参考
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("键/项对的数量: " & d.Count)
set d=nothing
%>
输出
键/项对的数量: 3
❮ 完整 Dictionary 对象参考