Share via


DataSourceInformation.Contains(String) Method

Definition

Retrieves a Boolean value indicating whether a specified property is contained in this data source information instance.

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

The name of the property being tested.

Returns

Returns true if the specified property is contained in this data source information instance; otherwise returns false.

Exceptions

The propertyName parameter is null.

Applies to