Noemax FastInfoset.NET
Create(String,FastInfosetCompression) Method
See Also  Send Feedback
Noemax.FastInfoset Namespace > XmlFastInfosetReader Class > Create Method : Create(String,FastInfosetCompression) Method






inputFileName
The path to the file with the FastInfoset encoded XML data.
compression
The compression algorithm to decompress the data.
Creates a new XmlReader instance for reading the Fast Infoset encoded XML file using an XmlReaderSettings object.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function Create( _
   ByVal inputFileName As String, _
   ByVal compression As FastInfosetCompression _
) As XmlReader
Visual Basic (Usage)Copy Code
Dim inputFileName As String
Dim compression As FastInfosetCompression
Dim value As XmlReader
 
value = XmlFastInfosetReader.Create(inputFileName, compression)
C# 
public static XmlReader Create( 
   string inputFileName,
   FastInfosetCompression compression
)
Delphi 
public function Create( 
    inputFileName: String;
    compression: FastInfosetCompression
): XmlReader; static; 
JScript 
public static function Create( 
   inputFileName : String,
   compression : FastInfosetCompression
) : XmlReader;
Managed Extensions for C++ 
public: static XmlReader* Create( 
   string* inputFileName,
   FastInfosetCompression compression
) 
C++/CLI 
public:
static XmlReader^ Create( 
   String^ inputFileName,
   FastInfosetCompression compression
) 

Parameters

inputFileName
The path to the file with the FastInfoset encoded XML data.
compression
The compression algorithm to decompress the data.

Return Value

An XmlReader object to read the FastInfoset encoded XML data.

See Also