Share via


XmlDesignerDataSourceView.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

戻り値

IEnumerable

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

適用対象

こちらもご覧ください