FastInfoset.NET Class Reference for Mono
Create(String,FastInfosetCompression,Int32) Method






The file to which you want to write. The System.Xml.XmlWriter creates a file at the specified path and writes to it FastInfoset encoded XML data. The outputFileName must be a file system path.
The compression algorithm to compress the output data.
Gets and sets the compression level to be applied, were 1 is for fastest compression and 9 for maximum compression.
Creates a new XmlWriter instance for writing Fast Infoset encoded XML into the specified file.
Syntax
'Declaration
 
Public Overloads Shared Function Create( _
   ByVal outputFileName As System.String, _
   ByVal compression As FastInfosetCompression, _
   ByVal compressionLevel As System.Integer _
) As System.Xml.XmlWriter
'Usage
 
Dim outputFileName As System.String
Dim compression As FastInfosetCompression
Dim compressionLevel As System.Integer
Dim value As System.Xml.XmlWriter
 
value = XmlFastInfosetWriter.Create(outputFileName, compression, compressionLevel)
public static System.Xml.XmlWriter Create( 
   System.string outputFileName,
   FastInfosetCompression compression,
   System.int compressionLevel
)
public function Create( 
    outputFileName: System.String;
    compression: FastInfosetCompression;
    compressionLevel: System.Integer
): System.Xml.XmlWriter; static; 
public static function Create( 
   outputFileName : System.String,
   compression : FastInfosetCompression,
   compressionLevel : System.int
) : System.Xml.XmlWriter;
public: static System.Xml.XmlWriter* Create( 
   System.string* outputFileName,
   FastInfosetCompression compression,
   System.int compressionLevel
) 
public:
static System.Xml.XmlWriter^ Create( 
   System.String^ outputFileName,
   FastInfosetCompression compression,
   System.int compressionLevel
) 

Parameters

outputFileName
The file to which you want to write. The System.Xml.XmlWriter creates a file at the specified path and writes to it FastInfoset encoded XML data. The outputFileName must be a file system path.
compression
The compression algorithm to compress the output data.
compressionLevel
Gets and sets the compression level to be applied, were 1 is for fastest compression and 9 for maximum compression.

Return Value

An System.Xml.XmlWriter object.
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

XmlFastInfosetWriter Class
XmlFastInfosetWriter Members
Overload List

Send Feedback