Share via


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

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

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

Syntax

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

returnValue = instance.FindAll(match)
IEnumerable<T> FindAll(
    Predicate<T> match
)
IEnumerable<T>^ FindAll(
    Predicate<T>^ match
)
abstract FindAll : 
        match:Predicate<'T> -> IEnumerable<'T> 
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.

See Also

Reference

IMetadataCollection<T> Interface

FindAll Overload

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace