亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频



Exists 方法

如果在 Dictionary 對(duì)象中存在指定鍵,返回 True;如果不存在,返回 False。

object.Exists(key)

參數(shù)

object

必選項(xiàng). 總是 Dictionary 對(duì)象名稱(chēng)。

key

必選項(xiàng). 在Dictionary 對(duì)象中查找的Key 值。

說(shuō)明

下面例子舉例說(shuō)明如何使用Exists 方法:

 Function KeyExistsDemo
Dim d, msg '創(chuàng)建一些變量。
 Set d =CreateObject("Scripting.Dictionary") d.Add "a", "Athens" '添加一些鍵和項(xiàng)目。
 d.Add "b", "Belgrade" d.Add "c", "Cairo" If d.Exists("c") Then msg ="指定的鍵存在。" Else msg ="指定的鍵不存在。" End If KeyExistsDemo =msgEnd Function

請(qǐng)參閱

Add 方法(Dictionary) | Items 方法 | Keys 方法 | Remove 方法 | RemoveAll 方法

應(yīng)用于:Dictionary 對(duì)象

返回首頁(yè)