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




match
The Predicate delegate that defines the conditions of the elements to search for.
Retrieves the all the elements that match the conditions defined by the specified predicate.

Syntax

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

Parameters

match
The Predicate delegate that defines the conditions of the elements to search for.

Return Value

An ObjectView containing all the elements that match the conditions defined by the specified predicate, if found; otherwise, an empty ObjectView.

Exceptions

ExceptionDescription
ArgumentNullExceptionMatch is null.

Requirements

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

See Also