TriTypeSortedListCollection<T, B1, B2>.IMetadataCollection<B2>.Contains Method (B2)
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 B2 _
) As Boolean Implements IMetadataCollection(Of B2).Contains
'Usage
Dim instance As TriTypeSortedListCollection
Dim item As B2
Dim returnValue As Boolean
returnValue = CType(instance, IMetadataCollection(Of B2)).Contains(item)
bool IMetadataCollection<B2>.Contains(
B2 item
)
private:
virtual bool Contains(
B2 item
) sealed = IMetadataCollection<B2>::Contains
private abstract Contains :
item:'B2 -> bool
private override Contains :
item:'B2 -> bool
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- item
Type: B2
The object to location in the collection.
Return Value
Type: System.Boolean
true if the collection contains the object; otherwise, false.