Click or drag to resize
ListTTrueForAll Method

Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public bool TrueForAll(
	Predicate<T> match
)

Parameters

match
Type: SystemPredicateT
The PredicateT delegate that defines the conditions to check against the elements.

Return Value

Type: Boolean
true if every element in the ListT matches the conditions defined by the specified predicate; otherwise, false. If the list has no elements, the return value is true.
Exceptions
ExceptionCondition
ArgumentNullExceptionmatch is null.
See Also