Share via


ODataValidationSettings.AllowedQueryOptions Property

Gets or sets the query parameters that are allowed inside query.

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

Syntax

'Declaration
Public Property AllowedQueryOptions As AllowedQueryOptions 
    Get 
    Set
'Usage
Dim instance As ODataValidationSettings 
Dim value As AllowedQueryOptions 

value = instance.AllowedQueryOptions

instance.AllowedQueryOptions = value
public AllowedQueryOptions AllowedQueryOptions { get; set; }
public:
property AllowedQueryOptions AllowedQueryOptions {
    AllowedQueryOptions get ();
    void set (AllowedQueryOptions value);
}
member AllowedQueryOptions : AllowedQueryOptions with get, set
function get AllowedQueryOptions () : AllowedQueryOptions 
function set AllowedQueryOptions (value : AllowedQueryOptions)

Property Value

Type: System.Web.Http.OData.Query.AllowedQueryOptions
The query parameters that are allowed inside query. The default is all query options, including $filter, $skip, $top, $orderby, $expand, $select, $inlineCount, $format and $skiptoken.

See Also

Reference

ODataValidationSettings Class

System.Web.Http.OData.Query Namespace