System::Collections::Generic::List::Contains method

List::Contains method

Checks if item is present in list.

bool System::Collections::Generic::List<T>::Contains(const T &item) const override
ParameterTypeDescription
itemconst T&Item to look for.

ReturnValue

True if item is found, false otherwise.

See Also