Contains()

ICollection::Contains(const T&) const method

Checks if element is present in collection.

virtual bool System::Collections::Generic::ICollection<T>::Contains(const T &item) const =0

Arguments

ParameterTypeDescription
itemconst T&Item to look for.

Return Value

True if element is present, false otherwise.

See Also