Noemax FastInfoset.NET
XmlFastInfosetWriter Constructor(Stream,XmlWriterSettings,FastInfosetCompression,Int32)
See Also  Send Feedback
Noemax.FastInfoset Namespace > XmlFastInfosetWriter Class > XmlFastInfosetWriter Constructor : XmlFastInfosetWriter Constructor(Stream,XmlWriterSettings,FastInfosetCompression,Int32)






output
The stream to which you want to write.
settings
The XmlWriterSettings object used to configure the new XmlWriter instance. If this is null (Northing in Visual Basic), a XmlWriterSettings with default settings is used.
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.
Initializes a new instance of the XmlFastInfosetWriter class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal output As Stream, _
   ByVal settings As XmlWriterSettings, _
   ByVal compression As FastInfosetCompression, _
   ByVal compressionLevel As Integer _
)
Visual Basic (Usage)Copy Code
Dim output As Stream
Dim settings As XmlWriterSettings
Dim compression As FastInfosetCompression
Dim compressionLevel As Integer
 
Dim instance As New XmlFastInfosetWriter(output, settings, compression, compressionLevel)
C# 
public XmlFastInfosetWriter( 
   Stream output,
   XmlWriterSettings settings,
   FastInfosetCompression compression,
   int compressionLevel
)
Delphi 
public XmlFastInfosetWriter( 
    output: Stream;
    settings: XmlWriterSettings;
    compression: FastInfosetCompression;
    compressionLevel: Integer
); 
JScript 
public function XmlFastInfosetWriter( 
   output : Stream,
   settings : XmlWriterSettings,
   compression : FastInfosetCompression,
   compressionLevel : int
);
Managed Extensions for C++ 
public: XmlFastInfosetWriter( 
   Stream* output,
   XmlWriterSettings* settings,
   FastInfosetCompression compression,
   int compressionLevel
)
C++/CLI 
public:
XmlFastInfosetWriter( 
   Stream^ output,
   XmlWriterSettings^ settings,
   FastInfosetCompression compression,
   int compressionLevel
)

Parameters

output
The stream to which you want to write.
settings
The XmlWriterSettings object used to configure the new XmlWriter instance. If this is null (Northing in Visual Basic), a XmlWriterSettings with default settings is used.
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.

See Also