System::Collections::CollectionBase::ListImpl::Contains metod

ListImpl::Contains method

Avgör om samlingen innehåller ett specifikt element.

bool System::Collections::CollectionBase<T>::ListImpl::Contains(const T &value)
ParameterTypeBeskrivning
valueconst T&Elementet att hitta i samlingen.

ReturnValue

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

Se även