Share via


SortedListCollection<T>.IMetadataCollection<IMetadataObject>.FindAll Method (String)

Retrieves all elements in the collection that have the specified name.

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

Syntax

'Declaration
Private Function FindAll ( _
    name As String _
) As IEnumerable(Of IMetadataObject) Implements IMetadataCollection(Of IMetadataObject).FindAll
'Usage
Dim instance As SortedListCollection
Dim name As String
Dim returnValue As IEnumerable(Of IMetadataObject)

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

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<IMetadataObject>
An enumerator over all the elements that have the specified name.

Implements

IMetadataCollection<T>.FindAll(String)