LinqDataSourceSelectEventArgs(DataSourceSelectArguments, IDictionary<String,Object>, IOrderedDictionary, IDictionary<String,Object>, IDictionary<String,Object>, IDictionary<String,Object>) 建構函式

定義

初始化 LinqDataSourceSelectEventArgs 類別的新執行個體。Initializes a new instance of the LinqDataSourceSelectEventArgs class.

public:
 LinqDataSourceSelectEventArgs(System::Web::UI::DataSourceSelectArguments ^ arguments, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ whereParameters, System::Collections::Specialized::IOrderedDictionary ^ orderByParameters, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ groupByParameters, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ orderGroupsByParameters, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ selectParameters);
public LinqDataSourceSelectEventArgs (System.Web.UI.DataSourceSelectArguments arguments, System.Collections.Generic.IDictionary<string,object> whereParameters, System.Collections.Specialized.IOrderedDictionary orderByParameters, System.Collections.Generic.IDictionary<string,object> groupByParameters, System.Collections.Generic.IDictionary<string,object> orderGroupsByParameters, System.Collections.Generic.IDictionary<string,object> selectParameters);
new System.Web.UI.WebControls.LinqDataSourceSelectEventArgs : System.Web.UI.DataSourceSelectArguments * System.Collections.Generic.IDictionary<string, obj> * System.Collections.Specialized.IOrderedDictionary * System.Collections.Generic.IDictionary<string, obj> * System.Collections.Generic.IDictionary<string, obj> * System.Collections.Generic.IDictionary<string, obj> -> System.Web.UI.WebControls.LinqDataSourceSelectEventArgs
Public Sub New (arguments As DataSourceSelectArguments, whereParameters As IDictionary(Of String, Object), orderByParameters As IOrderedDictionary, groupByParameters As IDictionary(Of String, Object), orderGroupsByParameters As IDictionary(Of String, Object), selectParameters As IDictionary(Of String, Object))

參數

arguments
DataSourceSelectArguments

從資料繫結控制項傳遞的值,資料繫結控制項會決定資料的分頁和排序方式。The values that are passed from the data-bound control that determine how the data is paged and sorted. 如需詳細資訊,請參閱 Arguments 屬性 (Property)。For more information, see the Arguments property.

whereParameters
IDictionary<String,Object>

用來建立 Where 子句的參數集合。The collection of parameters that is used to create the Where clause. 如需詳細資訊,請參閱 WhereParameters 屬性 (Property)。For more information, see the WhereParameters property.

orderByParameters
IOrderedDictionary

用來建立 Order By 子句的參數集合。The collection of parameters that is used to create the Order By clause. 如需詳細資訊,請參閱 OrderByParameters 屬性 (Property)。For more information, see the OrderByParameters property.

groupByParameters
IDictionary<String,Object>

用來建立 Group By 子句的參數集合。The collection of parameters that is used to create the Group By clause. 如需詳細資訊,請參閱 GroupByParameters 屬性 (Property)。For more information, see the GroupByParameters property.

orderGroupsByParameters
IDictionary<String,Object>

用來建立子句的參數集合,該子句可用來排序分組的資料。The collection of parameter that is used to create the clause that is used for sorting grouped data. 如需詳細資訊,請參閱 OrderGroupsByParameters 屬性 (Property)。For more information, see the OrderGroupsByParameters property.

selectParameters
IDictionary<String,Object>

用來建立 Select 子句的參數集合。The collection of parameters that is used to create the Select clause. 如需詳細資訊,請參閱 SelectParameters 屬性 (Property)。For more information, see the SelectParameters property.

適用於