Share via


SqlDesignerDataSourceView.GetDesignTimeData(Int32, Boolean) メソッド

定義

指定された行数を使用して、関連付けられているデータ ソース コントロールのスキーマと一致するデザイン時のデータを生成し、データがサンプルか実際のデータかを示す値を返します。

public:
 override System::Collections::IEnumerable ^ GetDesignTimeData(int minimumRows, [Runtime::InteropServices::Out] bool % isSampleData);
public override System.Collections.IEnumerable GetDesignTimeData (int minimumRows, out bool isSampleData);
override this.GetDesignTimeData : int * bool -> System.Collections.IEnumerable
Public Overrides Function GetDesignTimeData (minimumRows As Integer, ByRef isSampleData As Boolean) As IEnumerable

パラメーター

minimumRows
Int32

返される行の最小数。

isSampleData
Boolean

返されたデータがサンプル データであることを示す場合は true。返されたデータが実データであることを示す場合は false

戻り値

デザイン時に表示するデータが含まれる DataSourceView オブジェクト。

適用対象

こちらもご覧ください