DualTypeSortedListCollection<T, B>.IMetadataCollection<B>.Contains Method (B)

Determines whether the collection contains the specified object.

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

Syntax

'Declaration
Private Function Contains ( _
    item As B _
) As Boolean Implements IMetadataCollection(Of B).Contains
'Usage
Dim instance As DualTypeSortedListCollection 
Dim item As B
Dim returnValue As Boolean 

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

Parameters

  • item
    Type: B
    The object to locate in the collection.

Return Value

Type: System.Boolean
true if the collection contains the object; otherwise, false.

Implements

IMetadataCollection<T>.Contains(String)

See Also

Reference

DualTypeSortedListCollection<T, B> Class

Contains Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace