[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Determines if all of the items in the collection satisfy the condition
defined by predicate.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overridable Function TrueForAll ( _
predicate As Predicate(Of T) _
) As Boolean |
Visual C++ |
---|
public:
virtual bool TrueForAll (
Predicate<T>^ predicate
) |
Parameters
- predicate
- 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.
See Also