ASP Countプロパティ
完全な Dictionary オブジェクトリファレンス
Count プロパティは、Dictionary オブジェクト内の key/item ペアの数を返します。
構文
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
%>
出力:
The number of key/item pairs: 3
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
%>
出力:
The number of key/item pairs: 3
完全な Dictionary オブジェクトリファレンス その他の拡張