Share via


LinqDataSourceSelectEventArgs.OrderGroupsByParameters 属性

定义

获取参数的集合,这些参数用于创建指定如何对分组数据进行排序的子句。

public:
 property System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ OrderGroupsByParameters { System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ get(); };
public System.Collections.Generic.IDictionary<string,object> OrderGroupsByParameters { get; }
member this.OrderGroupsByParameters : System.Collections.Generic.IDictionary<string, obj>
Public ReadOnly Property OrderGroupsByParameters As IDictionary(Of String, Object)

属性值

一个对象,其中包含指定如何对分组数据进行排序的子句的参数。

注解

通过设置 GroupBy 属性对数据进行分组时,可以通过将 OrderGroupsBy 属性设置为用于对数据进行分组的属性之一对分组数据进行排序。

使用 OrderGroupsByParameters 属性访问事件的处理程序中 Order Groups By 子句的参数 Selecting 。 可以通过在此集合中添加或删除参数来修改 Order Groups By 子句。

默认情况下, OrderGroupsByParameters 对象的 属性 LinqDataSourceSelectEventArgs 包含以声明方式添加到 OrderGroupsByParameters 控件 的任何 LinqDataSource 参数。

适用于