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 オブジェクト。

適用対象

こちらもご覧ください