Bewerken

Delen via


LinqDataSourceSelectEventArgs.OrderGroupsByParameters Property

Definition

Gets the collection of parameters that are used to create the clause that specifies how grouped data is sorted.

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)

Property Value

An object that contains the parameters for the clause that specifies how grouped data is sorted.

Remarks

When you group data by setting the GroupBy property, you can sort the grouped data by setting the OrderGroupsBy property to one of the properties used for grouping the data.

You use the OrderGroupsByParameters property to access parameters for the Order Groups By clause in a handler for the Selecting event. You can modify the Order Groups By clause by adding or removing parameters from this collection.

By default, the OrderGroupsByParameters property of the LinqDataSourceSelectEventArgs object contains any parameters that you added declaratively to the OrderGroupsByParameters of the LinqDataSource control.

Applies to