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

ListImpl::Contains method

Bestämmer om samlingen innehåller ett specifikt element.

bool System::Collections::CollectionBase<T>::ListImpl::Contains(const T &value)
ParameterTypBeskrivning
värdeconst T&Elementet att hitta i samlingen.

ReturnValue

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

Se även