Share via


ODataValidationSettings.AllowedArithmeticOperators Property

Gets or sets a list of allowed arithmetic operators including 'add', 'sub', 'mul', 'div', 'mod'.

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

Syntax

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

value = instance.AllowedArithmeticOperators

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

Property Value

Type: System.Web.Http.OData.Query.AllowedArithmeticOperators
A list of allowed arithmetic operators including 'add', 'sub', 'mul', 'div', 'mod'.

See Also

Reference

ODataValidationSettings Class

System.Web.Http.OData.Query Namespace