Share via


XmlMediaTypeFormatter.MaxDepth Property

 

Gets and sets the maximum nested node depth.

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

Syntax

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

Property Value

Type: System.Int32

The maximum nested node depth.

See Also

XmlMediaTypeFormatter Class
System.Net.Http.Formatting Namespace

Return to top