Share via


IHierarchicalDataSourceDesigner.CanRefreshSchema プロパティ

定義

RefreshSchema(Boolean) メソッドを呼び出すことができるかどうかを示す値を取得します。

public:
 property bool CanRefreshSchema { bool get(); };
public bool CanRefreshSchema { get; }
member this.CanRefreshSchema : bool
Public ReadOnly Property CanRefreshSchema As Boolean

プロパティ値

RefreshSchema(Boolean) を呼び出すことができる場合は true。それ以外の場合は false

注釈

プロパティは CanRefreshSchema 、デザイン時に [スキーマの更新] コマンドを表示するかどうかを決定するために、Visual Studio 2005 などのデザイン ホストによって使用されます。

注意 (実装者)

独自のデータ ソースを作成するインターフェイスを IHierarchicalDataSourceDesigner 実装し、スキーマが変更されない場合、 プロパティは常に を CanRefreshSchemafalse し、 RefreshSchema(Boolean) メソッドは を NotSupportedException発生させる必要があります。

適用対象

こちらもご覧ください