Share via


AllowedArithmeticOperators Enumeration

Arithmetic operators to allow for querying using $filter.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration AllowedArithmeticOperators
'Usage
Dim instance As AllowedArithmeticOperators
[FlagsAttribute]
public enum AllowedArithmeticOperators
[FlagsAttribute]
public enum class AllowedArithmeticOperators
[<FlagsAttribute>]
type AllowedArithmeticOperators
public enum AllowedArithmeticOperators

Members

Member name Description
Add A value that corresponds to allowing 'Add' arithmetic operator in $filter.

All A value that corresponds to allowing all arithmetic operators in $filter.

Divide A value that corresponds to allowing 'Divide' arithmetic operator in $filter.

Modulo A value that corresponds to allowing 'Modulo' arithmetic operator in $filter.

Multiply A value that corresponds to allowing 'Multiply' arithmetic operator in $filter.

None A value that corresponds to allowing no arithmetic operators in $filter.

Subtract A value that corresponds to allowing 'Subtract' arithmetic operator in $filter.

See Also

Reference

System.Web.Http.OData.Query Namespace