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

Determines whether the collection contains an element that has 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 OrderedCollection 
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

  • name
    Type: String
    The name of the element to locate in the collection.

Return Value

Type: IEnumerable<IMetadataObject>
true if the collection contains the element; otherwise, false.

Implements

IMetadataCollection<T>.FindAll(String)

See Also

Reference

OrderedCollection<T> Class

FindAll Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace