Noemax.WCFX.Configuration Namespace > FastInfosetSettingsElement Class : MaxVocabularyStringLength Property |
'Declaration <System.Configuration.ConfigurationPropertyAttribute(Name="maxVocabularyStringLength", Options=ConfigurationPropertyOptions.None, IsDefaultCollection=False, IsRequired=False, IsKey=False)> Public Property MaxVocabularyStringLength As System.Integer
'Usage Dim instance As FastInfosetSettingsElement Dim value As System.Integer instance.MaxVocabularyStringLength = value value = instance.MaxVocabularyStringLength
[System.Configuration.ConfigurationProperty(Name="maxVocabularyStringLength", Options=ConfigurationPropertyOptions.None, IsDefaultCollection=false, IsRequired=false, IsKey=false)] public System.int MaxVocabularyStringLength {get; set;}
public read-write property MaxVocabularyStringLength: System.Integer;
System.Configuration.ConfigurationPropertyAttribute(Name="maxVocabularyStringLength", Options=ConfigurationPropertyOptions.None, IsDefaultCollection=, IsRequired=, IsKey=) public function get,set MaxVocabularyStringLength : System.int
[System.Configuration.ConfigurationProperty(Name="maxVocabularyStringLength", Options=ConfigurationPropertyOptions.None, IsDefaultCollection=false, IsRequired=false, IsKey=false)] public: __property System.int get_MaxVocabularyStringLength(); public: __property void set_MaxVocabularyStringLength( System.int value );
If the length of the character string that is written into the writer is smaller than the specified length, the writer will try to find a match for this string within the strings that have been already placed in the vocabulary and replace it with the reference to the already written string. If no match is found, the writer adds this character string to the vocabulary and all future occurrences of the same string will be replaced by references to it.
The writer does not try to find a match for strings that are longer than the specified length and so does not add them to the vocabulary. Setting this property to a higher value might improve compactness, but it might decrease the writing speed and\or consume more memory.
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