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

BaseDictionary::ContainsKey method

检查字典中是否存在键。

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

ReturnValue

如果键存在则返回 true,否则返回 false。

另见