Contains()

Collection::Contains(const T&) const method

Checks if item is present in collection.

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

Arguments

ParameterTypeDescription
itemconst T&to look for.

Return Value

True if item is present, false otherwise.

See Also