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






The URI of the file to write.
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.
or reuses an existing instance of XmlFastInfosetWriter.
Syntax
'Declaration
 
Public Overloads Function CreateWriter( _
   ByVal filename As System.String, _
   ByVal compression As FastInfosetCompression, _
   ByVal compressionLevel As System.Integer _
) As XmlFastInfosetWriter
'Usage
 
Dim instance As XmlFastInfosetFactory
Dim filename As System.String
Dim compression As FastInfosetCompression
Dim compressionLevel As System.Integer
Dim value As XmlFastInfosetWriter
 
value = instance.CreateWriter(filename, compression, compressionLevel)
public XmlFastInfosetWriter CreateWriter( 
   System.string filename,
   FastInfosetCompression compression,
   System.int compressionLevel
)
public function CreateWriter( 
    filename: System.String;
    compression: FastInfosetCompression;
    compressionLevel: System.Integer
): XmlFastInfosetWriter; 
public function CreateWriter( 
   filename : System.String,
   compression : FastInfosetCompression,
   compressionLevel : System.int
) : XmlFastInfosetWriter;
public: XmlFastInfosetWriter* CreateWriter( 
   System.string* filename,
   FastInfosetCompression compression,
   System.int compressionLevel
) 
public:
XmlFastInfosetWriter^ CreateWriter( 
   System.String^ filename,
   FastInfosetCompression compression,
   System.int compressionLevel
) 

Parameters

filename
The URI of the file to write.
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 instance of XmlFastInfosetWriter.
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

XmlFastInfosetFactory Class
XmlFastInfosetFactory Members
Overload List

Send Feedback