Freigeben über


FindAll-Methode (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>

Parameter

  • match
    Typ: System. . :: . .Predicate< (Of < ( <'T> ) > ) >
    The Predicate delegate that defines the conditions of the elements to search for.

Rückgabewert

Typ: System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'T> ) > ) >
An enumerator over all the elements that match the conditions defined by the specified predicate.