RepeaterDesigner.GetDesignTimeDataSource 方法

定義

傳回設計階段資料範例。

多載

GetDesignTimeDataSource(IEnumerable, Int32)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

根據提供的資料,使用指定數目的資料列傳回設計階段資料範例。

GetDesignTimeDataSource(Int32)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

根據 GetResolvedSelectedDataSource() 方法,使用指定數目的資料列傳回設計階段資料範例。

GetDesignTimeDataSource(IEnumerable, Int32)

根據提供的資料,使用指定數目的資料列傳回設計階段資料範例。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

protected:
 System::Collections::IEnumerable ^ GetDesignTimeDataSource(System::Collections::IEnumerable ^ selectedDataSource, int minimumRows);
protected System.Collections.IEnumerable GetDesignTimeDataSource (System.Collections.IEnumerable selectedDataSource, int minimumRows);
member this.GetDesignTimeDataSource : System.Collections.IEnumerable * int -> System.Collections.IEnumerable
Protected Function GetDesignTimeDataSource (selectedDataSource As IEnumerable, minimumRows As Integer) As IEnumerable

參數

selectedDataSource
IEnumerable

IEnumerable 物件,包含用於在設計階段建立類似資料範例的資料。

minimumRows
Int32

資料來源應該包含的範例資料其資料列的最小值。

傳回

IEnumerable 物件,包含要在設計階段使用的資料範例。

另請參閱

適用於

GetDesignTimeDataSource(Int32)

根據 GetResolvedSelectedDataSource() 方法,使用指定數目的資料列傳回設計階段資料範例。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

protected:
 System::Collections::IEnumerable ^ GetDesignTimeDataSource(int minimumRows);
protected System.Collections.IEnumerable GetDesignTimeDataSource (int minimumRows);
member this.GetDesignTimeDataSource : int -> System.Collections.IEnumerable
Protected Function GetDesignTimeDataSource (minimumRows As Integer) As IEnumerable

參數

minimumRows
Int32

資料來源應該包含的範例資料其資料列的最小值。

傳回

IEnumerable 物件,包含要在設計階段使用的資料範例。

另請參閱

適用於