選択したデータ ソースのスキーマに一致する一連のサンプル データを取得します。
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 オーバーロードの一覧