DataBoundControl.CreateDataSourceSelectArguments メソッド
アセンブリ: System.Web (system.web.dll 内)

Dim returnValue As DataSourceSelectArguments returnValue = Me.CreateDataSourceSelectArguments
Empty に初期化された DataSourceSelectArguments。

CreateDataSourceSelectArguments メソッドは、SelectArguments プロパティで使用されて既定の引数オブジェクトを初期化し、DataBoundControl クラスで使用されて PerformSelect メソッドを実装します。

派生クラスで CreateDataSourceSelectArguments メソッドを使用して、既定の DataSourceSelectArguments オブジェクトを取得する方法を次のコード例に示します。
Protected Overrides Sub PerformSelect() ' Call OnDataBinding here if bound to a data source using the ' DataSource property (instead of a DataSourceID) because the ' data-binding statement is evaluated before the call to GetData. If Not IsBoundUsingDataSourceID Then OnDataBinding(EventArgs.Empty) End If ' The GetData method retrieves the DataSourceView object from the ' IDataSource associated with the data-bound control. GetData().Select(CreateDataSourceSelectArguments(), _ AddressOf OnDataSourceViewSelectCallback) ' The PerformDataBinding method has completed. RequiresDataBinding = False MarkAsDataBound() ' Raise the DataBound event. OnDataBound(EventArgs.Empty) End Sub 'PerformSelect
protected override void PerformSelect() { // Call OnDataBinding here if bound to a data source using the // DataSource property (instead of a DataSourceID), because the // databinding statement is evaluated before the call to GetData. if (! IsBoundUsingDataSourceID) { OnDataBinding(EventArgs.Empty); } // The GetData method retrieves the DataSourceView object from // the IDataSource associated with the data-bound control. GetData().Select(CreateDataSourceSelectArguments(), OnDataSourceViewSelectCallback); // The PerformDataBinding method has completed. RequiresDataBinding = false; MarkAsDataBound(); // Raise the DataBound event. OnDataBound(EventArgs.Empty); }

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からDataBoundControl.CreateDataSourceSelectArguments メソッドを検索する場合は、下記のリンクをクリックしてください。

- DataBoundControl.CreateDataSourceSelectArguments メソッドのページへのリンク