DevForce Help Reference
MaxStringContentLength Property


Gets or sets the ReaderQuotas.MaxStringContentLength value.
Syntax
'Declaration
 
<ConfigurationPropertyAttribute(Name="maxStringContentLength", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=False, 
   IsRequired=False, 
   IsKey=False)>
<CategoryAttribute("ReaderQuotas Properties")>
<DescriptionAttribute("The maximum characters allowed in XML element content.  The default is 8192.")>
<IntegerValidatorAttribute(0)>
Public Property MaxStringContentLength As Integer
'Usage
 
Dim instance As GZipMessageEncodingElement
Dim value As Integer
 
instance.MaxStringContentLength = value
 
value = instance.MaxStringContentLength
[ConfigurationProperty(Name="maxStringContentLength", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
[Category("ReaderQuotas Properties")]
[Description("The maximum characters allowed in XML element content.  The default is 8192.")]
[IntegerValidator(0)]
public int MaxStringContentLength {get; set;}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GZipMessageEncodingElement Class
GZipMessageEncodingElement Members

Send Feedback