LinqDataSourceSelectEventArgs 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 LinqDataSourceSelectEventArgs 類別的新執行個體。
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
資料綁定控制項傳遞的數值決定資料如何分頁與排序。 如需詳細資訊,請參閱 Arguments 屬性 (Property)。
- whereParameters
- IDictionary<String,Object>
用來建立 Where 子句的參數集合。 如需詳細資訊,請參閱 WhereParameters 屬性 (Property)。
- orderByParameters
- IOrderedDictionary
用來建立「按序」子句的參數集合。 如需詳細資訊,請參閱 OrderByParameters 屬性 (Property)。
- groupByParameters
- IDictionary<String,Object>
用於建立 Group By 子句的參數集合。 如需詳細資訊,請參閱 GroupByParameters 屬性 (Property)。
- orderGroupsByParameters
- IDictionary<String,Object>
用於建立子句的參數集合,用於排序分組資料。 如需詳細資訊,請參閱 OrderGroupsByParameters 屬性 (Property)。
- selectParameters
- IDictionary<String,Object>
用於建立 Select 子句的參數集合。 如需詳細資訊,請參閱 SelectParameters 屬性 (Property)。