XmlDictionaryReaderQuotas.MaxDepth Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the maximum nested node depth.
public:
property int MaxDepth { int get(); void set(int value); };
public int MaxDepth { get; set; }
member this.MaxDepth : int with get, set
Public Property MaxDepth As Integer
Property Value
The maximum nested node depth. The default is 32.
Exceptions
Trying to set
the value and quota values are read-only for this instance.
Trying to set
the value is less than zero.
Remarks
This quota sets a limit on the nested node depth for the XML.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.