System::Collections::Generic::BaseDictionary::ContainsValue 方法

BaseDictionary::ContainsValue method

检查字典中是否存在值。使用 operator == 来比较值。

bool System::Collections::Generic::BaseDictionary<Map>::ContainsValue(const mapped_t &value)
参数类型描述
const mapped_t&要查找的值。

ReturnValue

如果找到值则为 true,否则为 false。

另见