AdoDotNetConnectionProperties.ContainsKey Method

Tests whether the specified property name is a member of the current set of connection properties.

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

Syntax

声明
Public Overridable Function ContainsKey ( _
    key As String _
) As Boolean
public virtual bool ContainsKey(
    string key
)
public:
virtual bool ContainsKey(
    String^ key
)
abstract ContainsKey : 
        key:string -> bool 
override ContainsKey : 
        key:string -> bool 
public function ContainsKey(
    key : String
) : boolean

Parameters

  • key
    Type: System.String
    The property name whose presence is being tested.

Return Value

Type: System.Boolean
true if key was found, otherwise false.

Implements

IDictionary<TKey, TValue>.ContainsKey(TKey)

.NET Framework Security

See Also

Reference

AdoDotNetConnectionProperties Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace