System::Collections::Generic::BaseSet::Contains 方法

BaseSet::Contains method

检查元素是否存在于集合中。

bool System::Collections::Generic::BaseSet<T, SET_T>::Contains(const T &item) const override
ParameterType描述
itemconst T&要查找的项。

ReturnValue

如果项存在于集合中则为 true,否则为 false。

另见