Chili.Opf3 Send comments on this topic.
TrueForAll Method
See Also 
Chili.Opf3 Namespace > Generic ObjectSet Class : TrueForAll Method




match
The Predicate delegate that defines the conditions to check against the elements.
Determines whether every element in the ObjectSet matches the conditions defined by the specified predicate.

Syntax

Visual Basic (Declaration) 
Public Function TrueForAll( _
   ByVal match As Predicate(Of T) _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ObjectSet(Of T)
Dim match As Predicate(Of T)
Dim value As Boolean
 
value = instance.TrueForAll(match)
C# 
public bool TrueForAll( 
   Predicate<T> match
)
Managed Extensions for C++ 
public: bool TrueForAll( 
   Predicate<T>* match
) 
C++/CLI 
public:
bool TrueForAll( 
   Predicate<T>^ match
) 

Parameters

match
The Predicate delegate that defines the conditions to check against the elements.

Return Value

true, if every element in the ObjectSet matches the conditions defined by the specified predicate; otherwise, false.

Exceptions

ExceptionDescription
ArgumentNullExceptionMatch is null.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also