Freigeben über


BaseJsonMediaTypeFormatter.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

public virtual int MaxDepth { get; set; }
public:
property int MaxDepth {
    virtual int get();
    virtual void set(int value);
}
abstract MaxDepth : int with get, set
override MaxDepth : int with get, set
Public Overridable Property MaxDepth As Integer

Property Value

Type: System.Int32

The maximum depth allowed by this formatter.

See Also

BaseJsonMediaTypeFormatter Class
System.Net.Http.Formatting Namespace

Return to top