System::Collections::Generic::_KeyList::Contains 方法

_KeyList::Contains method

检查指定键是否存在于集合中。

bool System::Collections::Generic::_KeyList<Dict>::Contains(const TKey &item) const override
参数类型描述
const TKey&要查找的键。

ReturnValue

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

另见