System::Collections::Generic::List::TrueForAll method

List::TrueForAll method

Determines whether every element in the collection matches the conditions defined by the specified predicate.

bool System::Collections::Generic::List<T>::TrueForAll(System::Predicate<T> match)
ParameterTypeDescription
matchSystem::Predicate<T>Predicate to check elements with.

ReturnValue

True if every element matches the conditions, false otherwise.

See Also