Share via


ODataQueryOptions.OrderBy Property

Gets or sets a value that corresponds to allowing the orderby query option.

Namespace:  System.Web.Http.OData.Query
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Property OrderBy As OrderByQueryOption 
    Get 
    Private Set
'Usage
Dim instance As ODataQueryOptions 
Dim value As OrderByQueryOption 

value = instance.OrderBy
public OrderByQueryOption OrderBy { get; private set; }
public:
property OrderByQueryOption^ OrderBy {
    OrderByQueryOption^ get ();
    private: void set (OrderByQueryOption^ value);
}
member OrderBy : OrderByQueryOption with get, private set
function get OrderBy () : OrderByQueryOption 
private function set OrderBy (value : OrderByQueryOption)

Property Value

Type: System.Web.Http.OData.Query.OrderByQueryOption
A value that corresponds to allowing the orderby query option.

See Also

Reference

ODataQueryOptions Class

System.Web.Http.OData.Query Namespace