TriTypeSortedListCollection<T, B1, B2>.IMetadataCollection<B2>.Contains 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 Contains ( _
    name As String _
) As Boolean Implements IMetadataCollection(Of B2).Contains
'Usage
Dim instance As TriTypeSortedListCollection 
Dim name As String 
Dim returnValue As Boolean 

returnValue = CType(instance, IMetadataCollection(Of B2)).Contains(name)
bool IMetadataCollection<B2>.Contains(
    string name
)
private:
virtual bool Contains(
    String^ name
) sealed = IMetadataCollection<B2>::Contains
private abstract Contains : 
        name:string -> bool  
private override Contains : 
        name:string -> bool
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: Boolean
true if the collection contains the element; otherwise, false.

Implements

IMetadataCollection<T>.Contains(String)

See Also

Reference

TriTypeSortedListCollection<T, B1, B2> Class

Contains Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace