QueryContext 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
透過使用 、 、 QueryContext、 、 WhereParameters、 和 OrderGroupsByParameters 屬性來初始化該OrderByParameters類別的新實例。 GroupByParametersSelectParametersArguments
public:
QueryContext(System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ whereParameters, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ orderGroupsByParameters, System::Collections::Specialized::IOrderedDictionary ^ orderByParameters, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ groupByParameters, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ selectParameters, System::Web::UI::DataSourceSelectArguments ^ arguments);
public QueryContext(System.Collections.Generic.IDictionary<string,object> whereParameters, System.Collections.Generic.IDictionary<string,object> orderGroupsByParameters, System.Collections.Specialized.IOrderedDictionary orderByParameters, System.Collections.Generic.IDictionary<string,object> groupByParameters, System.Collections.Generic.IDictionary<string,object> selectParameters, System.Web.UI.DataSourceSelectArguments arguments);
new System.Web.UI.WebControls.QueryContext : System.Collections.Generic.IDictionary<string, obj> * System.Collections.Generic.IDictionary<string, obj> * System.Collections.Specialized.IOrderedDictionary * System.Collections.Generic.IDictionary<string, obj> * System.Collections.Generic.IDictionary<string, obj> * System.Web.UI.DataSourceSelectArguments -> System.Web.UI.WebControls.QueryContext
Public Sub New (whereParameters As IDictionary(Of String, Object), orderGroupsByParameters As IDictionary(Of String, Object), orderByParameters As IOrderedDictionary, groupByParameters As IDictionary(Of String, Object), selectParameters As IDictionary(Of String, Object), arguments As DataSourceSelectArguments)
參數
- whereParameters
- IDictionary<String,Object>
資料來源用來建立子 Where 句的參數收集。
- orderGroupsByParameters
- IDictionary<String,Object>
資料來源用來建立子 OrderGroupsBy 句的參數收集。
- orderByParameters
- IOrderedDictionary
資料來源用來建立子 OrderBy 句的參數收集。
- groupByParameters
- IDictionary<String,Object>
資料來源用來建立子 GroupBy 句的參數收集。
- selectParameters
- IDictionary<String,Object>
資料來源用來建立 Select 指令的參數收集。
- arguments
- DataSourceSelectArguments
要交給 QueryContext 全班的論點。