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






The stream to which you want to write. The XmlWriter writes Fast Infoset encoded XML and appends it to the specified stream.
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.
Creates a new XmlWriter instance for writing Fast Infoset encoded XML into the specified stream using an XmlWriterSettings object.
Syntax
'Declaration
 
Public Overloads Shared Function Create( _
   ByVal output As System.IO.Stream, _
   ByVal settings As System.Xml.XmlWriterSettings, _
   ByVal compression As FastInfosetCompression, _
   ByVal compressionLevel As System.Integer _
) As System.Xml.XmlWriter
'Usage
 
Dim output As System.IO.Stream
Dim settings As System.Xml.XmlWriterSettings
Dim compression As FastInfosetCompression
Dim compressionLevel As System.Integer
Dim value As System.Xml.XmlWriter
 
value = XmlFastInfosetWriter.Create(output, settings, compression, compressionLevel)
public static System.Xml.XmlWriter Create( 
   System.IO.Stream output,
   System.Xml.XmlWriterSettings settings,
   FastInfosetCompression compression,
   System.int compressionLevel
)
public function Create( 
    output: System.IO.Stream;
    settings: System.Xml.XmlWriterSettings;
    compression: FastInfosetCompression;
    compressionLevel: System.Integer
): System.Xml.XmlWriter; static; 
public static function Create( 
   output : System.IO.Stream,
   settings : System.Xml.XmlWriterSettings,
   compression : FastInfosetCompression,
   compressionLevel : System.int
) : System.Xml.XmlWriter;
public: static System.Xml.XmlWriter* Create( 
   System.IO.Stream* output,
   System.Xml.XmlWriterSettings* settings,
   FastInfosetCompression compression,
   System.int compressionLevel
) 
public:
static System.Xml.XmlWriter^ Create( 
   System.IO.Stream^ output,
   System.Xml.XmlWriterSettings^ settings,
   FastInfosetCompression compression,
   System.int compressionLevel
) 

Parameters

output
The stream to which you want to write. The XmlWriter writes Fast Infoset encoded XML and appends it to the specified stream.
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.

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