Share via


DictionaryCollectionBase<T, U>.Contains Method (String)

Determines whether the specified element is in the collection.

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

Syntax

'Declaration
Public Function Contains ( _
    name As String _
) As Boolean
'Usage
Dim instance As DictionaryCollectionBase
Dim name As String
Dim returnValue As Boolean

returnValue = instance.Contains(name)
public bool Contains(
    string name
)
public:
virtual bool Contains(
    String^ name
) sealed
abstract Contains : 
        name:string -> bool 
override Contains : 
        name:string -> bool 
public final function Contains(
    name : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the element is in the collection; otherwise, false.

Implements

IMetadataCollection<T>.Contains(String)