System::Collections::Generic::BaseDictionary::ContainsKey 方法

BaseDictionary::ContainsKey method

检查字典中是否存在键。

bool System::Collections::Generic::BaseDictionary<Map>::ContainsKey(const key_t &key) const override
参数类型描述
const key_t&要查找的键。

ReturnValue

如果键存在则为 true,否则为 false。

另见