LinqDataSourceSelectEventArgs.OrderByParameters Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the collection of parameters that is used to create the OrderBy clause.
public:
property System::Collections::Specialized::IOrderedDictionary ^ OrderByParameters { System::Collections::Specialized::IOrderedDictionary ^ get(); };
public System.Collections.Specialized.IOrderedDictionary OrderByParameters { get; }
member this.OrderByParameters : System.Collections.Specialized.IOrderedDictionary
Public ReadOnly Property OrderByParameters As IOrderedDictionary
Property Value
An object that contains the parameters for the OrderBy clause.
Remarks
You use the OrderByParameters property to access parameters for the OrderBy clause in a handler for the Selecting event. You can modify the OrderBy clause by adding or removing parameters from this collection. By default, the OrderByParameters property of the LinqDataSourceSelectEventArgs object contains any parameters that you added to the OrderByParameters of the LinqDataSource control.
When the AutoGenerateOrderByClause property is set to true
, parameters in the OrderByParameters collection do not have to be named. The data will be ordered based on the sequence of the parameters in the OrderByParameters collection.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor