Share via


ODataValidationSettings.MaxAnyAllExpressionDepth Property

Gets or sets the maximum depth of the Any or All elements nested inside the query.

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

Syntax

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

value = instance.MaxAnyAllExpressionDepth

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

Property Value

Type: System.Int32
The maximum depth of the Any or All elements nested inside the query. The default value is 1.

See Also

Reference

ODataValidationSettings Class

System.Web.Http.OData.Query Namespace