Exists 方法
描述
如果在
Dictionary
对象中指定的关键字存在,返回
True
,若不存在,返回
False
。
语法
object
.
Exists(
key
)
Exists
方法语法有如下几部分:
部分
描述
Object
必需的。始终是一个
Dictionary
对象的名字。
Key
必需的。在
Dictionary
对象中搜索的
Key
值。