Share via


XmlDictionaryReaderQuotasElement.MaxStringContentLength 屬性

定義

取得或設定 XML 元素內容允許的字元數目上限。

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

屬性值

XML 項目內容允許的字元數目上限。

屬性

適用於