DictionaryCollection<T>.IMetadataCollection<IMetadataObject>.Contains Method (IMetadataObject)

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 IMetadataObject _
) As Boolean Implements IMetadataCollection(Of IMetadataObject).Contains
'Usage
Dim instance As DictionaryCollection 
Dim item As IMetadataObject 
Dim returnValue As Boolean 

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

Parameters

Return Value

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

Implements

IMetadataCollection<T>.Contains(T)

See Also

Reference

DictionaryCollection<T> Class

Contains Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace