共用方式為


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

要在設計階段顯示的資料。

備註

傳回值,指出資料是範例或真實資料。

適用於