FormUrlEncodedMediaTypeFormatter.MaxDepth Property

Gets or sets the maximum depth allowed by this formatter.

Namespace:  System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

'Declaration
Public Property MaxDepth As Integer 
    Get 
    Set
'Usage
Dim instance As FormUrlEncodedMediaTypeFormatter 
Dim value As Integer 

value = instance.MaxDepth

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

Property Value

Type: System.Int32
The maximum depth.

See Also

Reference

FormUrlEncodedMediaTypeFormatter Class

System.Net.Http.Formatting Namespace