System::Collections::Generic::ICollection::Contains metod

ICollection::Contains method

Kontrollerar om ett element finns i samlingen.

virtual bool System::Collections::Generic::ICollection<T>::Contains(const T &item) const =0
ParameterTypBeskrivning
objektconst T&Objekt att söka efter.

ReturnValue

Sant om elementet finns, falskt annars.

Se även