返回鍵/項(xiàng)目對(duì)的數(shù)目

代碼:

<!DOCTYPE html>

<html>
<body>
<br />
<%
dim d, a, s, i
set d=Server.CreateObject("Scripting.Dictionary")
d.Add "n", "Norway"
d.Add "i", "Italy"
Response.Write("The number of key/item pairs is: " & d.Count)
set d=nothing
%>
<br />
</body>
</html>

結(jié)果:

The number of key/item pairs is: 2
相關(guān)文章
ASP技巧
亚洲国产精品第一区二区,久久免费视频77,99V久久综合狠狠综合久久,国产免费久久九九免费视频