Partager via


AdoDotNetConnectionProperties.Contains(String) Method

Definition

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

public:
 override bool Contains(System::String ^ propertyName);
public override bool Contains (string propertyName);
override this.Contains : string -> bool
Public Overrides Function Contains (propertyName As String) As Boolean

Parameters

propertyName
String

Name of the property whose presence is being tested.

Returns

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

Exceptions

The propertyName parameter is null.

Applies to