FastInfoset.NET Class Reference for .NET
LoadFromXml(String,Int32,Int32) Method






The XML file to read the document from.
The MaxVocabularyStringLength setting to use when serializing to document into the vocabulary.
The MaxVocabularyStringIndex setting to use when serializing to document into the vocabulary.
Populates the vocabulary by serializing the document from the specified XML file.
Syntax
'Declaration
 
Public Overloads Sub LoadFromXml( _
   ByVal filename As System.String, _
   ByVal maxVocabularyStringLength As System.Integer, _
   ByVal maxVocabularyStringIndex As System.Integer _
) 
'Usage
 
Dim instance As WriterVocabulary
Dim filename As System.String
Dim maxVocabularyStringLength As System.Integer
Dim maxVocabularyStringIndex As System.Integer
 
instance.LoadFromXml(filename, maxVocabularyStringLength, maxVocabularyStringIndex)
public void LoadFromXml( 
   System.string filename,
   System.int maxVocabularyStringLength,
   System.int maxVocabularyStringIndex
)
public procedure LoadFromXml( 
    filename: System.String;
    maxVocabularyStringLength: System.Integer;
    maxVocabularyStringIndex: System.Integer
); 
public function LoadFromXml( 
   filename : System.String,
   maxVocabularyStringLength : System.int,
   maxVocabularyStringIndex : System.int
);
public: void LoadFromXml( 
   System.string* filename,
   System.int maxVocabularyStringLength,
   System.int maxVocabularyStringIndex
) 
public:
void LoadFromXml( 
   System.String^ filename,
   System.int maxVocabularyStringLength,
   System.int maxVocabularyStringIndex
) 

Parameters

filename
The XML file to read the document from.
maxVocabularyStringLength
The MaxVocabularyStringLength setting to use when serializing to document into the vocabulary.
maxVocabularyStringIndex
The MaxVocabularyStringIndex setting to use when serializing to document into the vocabulary.
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

WriterVocabulary Class
WriterVocabulary Members
Overload List

Send Feedback