Noemax FastInfoset.NET
MaxVocabularyStringLength Property
See Also  Send Feedback
Noemax.FastInfoset Namespace > XmlFastInfosetWriter Class : MaxVocabularyStringLength Property






Gets and sets the maximum number of characters that a string value may contain in order to be added to the vocabulary.

Syntax

Visual Basic (Declaration) 
Public Property MaxVocabularyStringLength As Integer
Visual Basic (Usage)Copy Code
Dim instance As XmlFastInfosetWriter
Dim value As Integer
 
instance.MaxVocabularyStringLength = value
 
value = instance.MaxVocabularyStringLength
C# 
public int MaxVocabularyStringLength {get; set;}
Delphi 
public read-write property MaxVocabularyStringLength: Integer; 
JScript 
public function get,set MaxVocabularyStringLength : int
Managed Extensions for C++ 
public: __property int get_MaxVocabularyStringLength();
public: __property void set_MaxVocabularyStringLength( 
   int value
);
C++/CLI 
public:
property int MaxVocabularyStringLength {
   int get();
   void set (    int value);
}

Remarks

The vocabulary is used by Fast Infoset to reduce redundancy and increase compactness. All occurrences of values added to the vocabulary are removed from the document and replaced by an index to the corresponding entry in the vocabulary.

The maximum string length specifies the maximum number of characters that a string value may contain in order to be added to the vocabulary. Longer values are not added to the vocabulary. A higher limit might result in higher compactness but might also result in higher resource consumption than a lower limit.

See Also