Share via


DataConnectionProperties.Contains(String) Method

Definition

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

public:
 virtual bool Contains(System::String ^ propertyName);
public virtual bool Contains (string propertyName);
abstract member Contains : string -> bool
override this.Contains : string -> bool
Public Overridable 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.

Implements

Exceptions

The propertyName parameter is null.

Applies to