69pao国产精品视频-久久精品一区二区二三区-精品国产精品亚洲一本大道-99国产综合一区久久

ASP Item 屬性

asp item 屬性

dictionary 對象參考手冊 完整的 dictionary 對象參考手冊

item 屬性設(shè)置或返回 dictionary 對象中某個項目的值。

語法

dictionaryobject.item(key)[=newitem]

參數(shù) 描述
key 必需的。與 item 相關(guān)聯(lián)的 key。
newitem 可選的。規(guī)定與 key 相關(guān)聯(lián)的值。

實例

<%
dim d
set d=server.createobject("scripting.dictionary")
d.add "re","red"
d.add "gr","green"
d.add "bl","blue"
d.add "pi","pink"
response.write("the value of key pi is: " & d.item("pi"))
%>

輸出:

the value of key pi is: pink

dictionary 對象參考手冊 完整的 dictionary 對象參考手冊
相關(guān)文章