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

ICollection::Contains method

Kontrollerar om elementet finns i samlingen.

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

ReturnValue

Sant om elementet finns, falskt annars.

Se även