請參閱 應(yīng)用于
如果在 Dictionary 對象中存在指定鍵,返回 True;如果不存在,返回 False。
object.Exists(key) Exists 方法的語法有以下部分: 參數(shù) 描述 object 必選。應(yīng)為 Dictionary 對象的名稱。 key 必選。Key 為在 Dictionary 對象中要查找的值。
Exists 方法的語法有以下部分: