指定的鍵存在嗎?

代碼:

<!DOCTYPE html>

<html>

<body>

 

<%

dim d

set d=Server.CreateObject("Scripting.Dictionary")

d.Add "n", "Norway"

d.Add "i", "Italy"

if d.Exists("n")= true then

    Response.Write("Key exists.")

else

    Response.Write("Key does not exist.")

end if

set d=nothing

%>

 

</body>

</html>

結(jié)果:

Key exists.

相關(guān)文章
亚洲国产精品第一区二区,久久免费视频77,99V久久综合狠狠综合久久,国产免费久久九九免费视频