語言

RepeaterDesigner.GetDesignTimeDataSource 方法

定義

回傳設計時樣本資料。

多載

名稱 Description
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 包含樣本資料的物件,供設計時使用。

另請參閱

適用於