System::Collections::CollectionBase::ListImpl::Contains 方法

ListImpl::Contains method

确定集合是否包含特定元素。

bool System::Collections::CollectionBase<T>::ListImpl::Contains(const T &value)
参数类型描述
const T&要在集合中定位的元素。

ReturnValue

true if the collection contains the specified value; otherwise, false.

另见