Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

CollectionBase<(Of <(<'T>)>)>..::..TrueForAll Method

Determines if all of the items in the collection satisfy the condition defined by predicate.

Namespace:  Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax


public virtual bool TrueForAll(
	Predicate<T> predicate
)
Public Overridable Function TrueForAll ( _
	predicate As Predicate(Of T) _
) As Boolean
public:
virtual bool^ TrueForAll(
	Predicate<T>^ predicate
)

Parameters

predicate
Type: Predicate<(Of <(<'T>)>)>
A delegate that defines the condition to check for.

Return Value

True if all of the items in the collection satisfy the condition defined by predicate, or if the collection is empty. False if one or more items in the collection do not satisfy predicate.