共用方式為


AdoDotNetConnectionProperties.ContainsKey(String) Method

Definition

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

public:
 virtual bool ContainsKey(System::String ^ key);
public virtual bool ContainsKey (string key);
abstract member ContainsKey : string -> bool
override this.ContainsKey : string -> bool
Public Overridable Function ContainsKey (key As String) As Boolean

Parameters

key
String

The property name whose presence is being tested.

Returns

true if key was found, otherwise false.

Implements

Applies to