Share via


DictionaryCollectionBase<T, U>.FindAll Method (Predicate<T>)

Finds all elements in the collection that match the conditions defined by the specified predicate.

Namespace:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Function FindAll ( _
    match As Predicate(Of T) _
) As IEnumerable(Of T)
'Usage
Dim instance As DictionaryCollectionBase
Dim match As Predicate(Of T)
Dim returnValue As IEnumerable(Of T)

returnValue = instance.FindAll(match)
public IEnumerable<T> FindAll(
    Predicate<T> match
)
public:
virtual IEnumerable<T>^ FindAll(
    Predicate<T>^ match
) sealed
abstract FindAll : 
        match:Predicate<'T> -> IEnumerable<'T> 
override FindAll : 
        match:Predicate<'T> -> IEnumerable<'T> 
public final function FindAll(
    match : Predicate<T>
) : IEnumerable<T>

Parameters

  • match
    Type: System.Predicate<T>
    The Predicate delegate that defines the conditions of the elements to search for.

Return Value

Type: System.Collections.Generic.IEnumerable<T>
An enumerator over all the elements that match the conditions defined by the specified predicate.

Implements

IMetadataCollection<T>.FindAll(Predicate<T>)