Share via


AdoDotNetConnectionProperties.IDictionary.Contains Method

Determines whether the current IDictionaryinstance contains an element with the specified key.

Namespace:  Microsoft.VisualStudio.Data.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Private Function Contains ( _
    key As Object _
) As Boolean Implements IDictionary.Contains
bool IDictionary.Contains(
    Object key
)
private:
virtual bool Contains(
    Object^ key
) sealed = IDictionary::Contains
private abstract Contains : 
        key:Object -> bool  
private override Contains : 
        key:Object -> bool
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Boolean
Returns true if the IDictionary instance contains an element with the specified key; otherwise returns false.

Implements

IDictionary.Contains(Object)

Remarks

This method provides an implementation of the Contains method. For more information see the Contains method in the .NET Framework class library.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionProperties Class

Microsoft.VisualStudio.Data.AdoDotNet Namespace