SortedListCollection<T>.IMetadataCollection<IMetadataObject>.FindAll Method (Predicate<IMetadataObject>)
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 IMetadataObject) _
) As IEnumerable(Of IMetadataObject) Implements IMetadataCollection(Of IMetadataObject).FindAll
'Usage
Dim instance As SortedListCollection
Dim match As Predicate(Of IMetadataObject)
Dim returnValue As IEnumerable(Of IMetadataObject)
returnValue = CType(instance, IMetadataCollection(Of IMetadataObject)).FindAll(match)
IEnumerable<IMetadataObject> IMetadataCollection<IMetadataObject>.FindAll(
Predicate<IMetadataObject> match
)
private:
virtual IEnumerable<IMetadataObject^>^ FindAll(
Predicate<IMetadataObject^>^ match
) sealed = IMetadataCollection<IMetadataObject^>::FindAll
private abstract FindAll :
match:Predicate<IMetadataObject> -> IEnumerable<IMetadataObject>
private override FindAll :
match:Predicate<IMetadataObject> -> IEnumerable<IMetadataObject>
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- match
Type: System.Predicate<IMetadataObject>
The Predicate delegate that defines the conditions of the elements to search for.
Return Value
Type: System.Collections.Generic.IEnumerable<IMetadataObject>
An enumerator over all the elements that match the conditions defined by the specified predicate.