DualTypeSortedListCollection<T, B>.IMetadataCollection<B>.FindAll Method (Predicate<B>)

Retrieves 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
Private Function FindAll ( _
    match As Predicate(Of B) _
) As IEnumerable(Of B) Implements IMetadataCollection(Of B).FindAll
'Usage
Dim instance As DualTypeSortedListCollection 
Dim match As Predicate(Of B)
Dim returnValue As IEnumerable(Of B)

returnValue = CType(instance, IMetadataCollection(Of B)).FindAll(match)
IEnumerable<B> IMetadataCollection<B>.FindAll(
    Predicate<B> match
)
private:
virtual IEnumerable<B>^ FindAll(
    Predicate<B>^ match
) sealed = IMetadataCollection<B>::FindAll
private abstract FindAll : 
        match:Predicate<'B> -> IEnumerable<'B> 
private override FindAll : 
        match:Predicate<'B> -> IEnumerable<'B> 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

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

Return Value

Type: IEnumerable<B>
An enumerator over all the elements that match the conditions defined by the specified predicate.

Implements

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

See Also

Reference

DualTypeSortedListCollection<T, B> Class

FindAll Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace