TrueForAll()

List::TrueForAll(System::Predicate<T>) 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)

Arguments

ParameterTypeDescription
matchSystem::Predicate<T>Predicate to check elements with.

Return Value

True if every element matches the conditions, false otherwise.

See Also