DualTypeSortedListCollection<T, B>.IMetadataCollection<B>.Contains Method (String)
Determines whether the collection contains the specified element.
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 B).Contains
'Usage
Dim instance As DualTypeSortedListCollection
Dim name As String
Dim returnValue As Boolean
returnValue = CType(instance, IMetadataCollection(Of B)).Contains(name)
bool IMetadataCollection<B>.Contains(
string name
)
private:
virtual bool Contains(
String^ name
) sealed = IMetadataCollection<B>::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: System.String
The name of the element to retrieve.
Return Value
Type: System.Boolean
true if the collection contains the element; otherwise, false.
Implements
IMetadataCollection<T>.Contains(String)
See Also
Reference
DualTypeSortedListCollection<T, B> Class
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace