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
'Declaration
Public Property MaxDepth As Integer
Get
Set
'Usage
Dim instance As XmlMediaTypeFormatter
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 nested node depth.