次の方法で共有


BaseDataListDesigner.GetDesignTimeDataSource メソッド (IEnumerable, Int32, Boolean)

選択したデータ ソースのスキーマに一致する一連のサンプル データを取得します。

Overloads Protected Function GetDesignTimeDataSource( _
   ByVal selectedDataSource As IEnumerable, _   ByVal minimumRows As Integer, _   <Out()> ByRef dummyDataSource As Boolean _) As IEnumerable
[C#]
protected IEnumerable GetDesignTimeDataSource(IEnumerableselectedDataSource,intminimumRows,   out booldummyDataSource);
[C++]
protected: IEnumerable* GetDesignTimeDataSource(IEnumerable* selectedDataSource,intminimumRows,   [   Out] bool* dummyDataSource);
[JScript]
protected function GetDesignTimeDataSource(
   selectedDataSource : IEnumerable,minimumRows : int,dummyDataSource : Boolean) : IEnumerable;

パラメータ

  • selectedDataSource
    データの形式のテンプレートとして使用するデータ ソース。
  • minimumRows
    データ ソース データが格納するサンプル データの行の最少数。
  • dummyDataSource
    返されたデータ ソースにダミー データが格納されている場合は true 。返されたデータ ソースに実際のデータ ソースからのデータが格納されている場合は false

戻り値

デザイン時に使用するライブ データ ソース。

使用例

必要条件

プラットフォーム: Windows 2000, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

BaseDataListDesigner クラス | BaseDataListDesigner メンバ | System.Web.UI.Design.WebControls 名前空間 | BaseDataListDesigner.GetDesignTimeDataSource オーバーロードの一覧