Contains()

ReadOnlyCollection::Contains(const T&) const method

Checks if container contains specific item.

virtual bool System::Collections::ObjectModel::ReadOnlyCollection<T>::Contains(const T &item) const override

Arguments

ParameterTypeDescription
itemconst T&Item to look for.

Return Value

true if item is found, false otherwise.

See Also