共用方式為


DataConnectionProperties.ContainsKey(String) Method

Definition

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

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

Parameters

key
String

Name of the property whose presence is being tested.

Returns

true if the specified property is a member of the connection properties collection; otherwise, false.

Implements

Applies to