Share via


XmlDictionaryReaderQuotasElement.MaxDepth 屬性

定義

取得或設定每個讀取動作的巢狀節點深度上限。

public:
 property int MaxDepth { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxDepth", DefaultValue=0)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int MaxDepth { get; set; }
[<System.Configuration.ConfigurationProperty("maxDepth", DefaultValue=0)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.MaxDepth : int with get, set
Public Property MaxDepth As Integer

屬性值

每個讀取動作的巢狀節點深度上限。

屬性

適用於