FastInfoset.NET Class Reference for .NET
XmlFastInfosetWriter Constructor(Stream,XmlWriterSettings,FastInfosetCompression,Int32)






The stream to which you want to write.
The XmlWriterSettings object used to configure the new XmlWriter instance. If this is null (Nothing in Visual Basic), a XmlWriterSettings with default settings is used.
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.
Initializes a new instance of the XmlFastInfosetWriter class.
Syntax
'Declaration
 
Public Function New( _
   ByVal output As System.IO.Stream, _
   ByVal settings As System.Xml.XmlWriterSettings, _
   ByVal compression As FastInfosetCompression, _
   ByVal compressionLevel As System.Integer _
)
'Usage
 
Dim output As System.IO.Stream
Dim settings As System.Xml.XmlWriterSettings
Dim compression As FastInfosetCompression
Dim compressionLevel As System.Integer
 
Dim instance As New XmlFastInfosetWriter(output, settings, compression, compressionLevel)
public XmlFastInfosetWriter( 
   System.IO.Stream output,
   System.Xml.XmlWriterSettings settings,
   FastInfosetCompression compression,
   System.int compressionLevel
)
public XmlFastInfosetWriter( 
    output: System.IO.Stream;
    settings: System.Xml.XmlWriterSettings;
    compression: FastInfosetCompression;
    compressionLevel: System.Integer
); 
public function XmlFastInfosetWriter( 
   output : System.IO.Stream,
   settings : System.Xml.XmlWriterSettings,
   compression : FastInfosetCompression,
   compressionLevel : System.int
);
public: XmlFastInfosetWriter( 
   System.IO.Stream* output,
   System.Xml.XmlWriterSettings* settings,
   FastInfosetCompression compression,
   System.int compressionLevel
)
public:
XmlFastInfosetWriter( 
   System.IO.Stream^ output,
   System.Xml.XmlWriterSettings^ settings,
   FastInfosetCompression compression,
   System.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 (Nothing 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.
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