共用方式為


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 bool Contains (string propertyName);
abstract member Contains : string -> bool
override this.Contains : string -> bool
Public Function Contains (propertyName As String) As Boolean

Parameters

propertyName
String

The name of the property being tested.

Returns

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

Implements

Exceptions

The propertyName parameter is null.

Applies to