IdeaBlade DevForce 2010 Help Reference
MaxStringContentLength Property
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core.Wcf.Extensions Namespace > GZipMessageEncodingElement Class : MaxStringContentLength Property



Gets or sets the ReaderQuotas.MaxStringContentLength value.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("The maximum characters allowed in XML element content.  The default is 8192.")>
<IntegerValidatorAttribute(0)>
<ConfigurationPropertyAttribute(Name="maxStringContentLength", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=False, 
   IsRequired=False, 
   IsKey=False)>
<CategoryAttribute("ReaderQuotas Properties")>
Public Property MaxStringContentLength As Integer
Visual Basic (Usage)Copy Code
Dim instance As GZipMessageEncodingElement
Dim value As Integer
 
instance.MaxStringContentLength = value
 
value = instance.MaxStringContentLength
C# 
[DescriptionAttribute("The maximum characters allowed in XML element content.  The default is 8192.")]
[IntegerValidatorAttribute(0)]
[ConfigurationPropertyAttribute(Name="maxStringContentLength", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
[CategoryAttribute("ReaderQuotas Properties")]
public int MaxStringContentLength {get; set;}
C++/CLI 
[DescriptionAttribute("The maximum characters allowed in XML element content.  The default is 8192.")]
[IntegerValidatorAttribute(0)]
[ConfigurationPropertyAttribute(Name="maxStringContentLength", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
[CategoryAttribute("ReaderQuotas Properties")]
public:
property int MaxStringContentLength {
   int get();
   void set (    int value);
}

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.