FastInfoset.NET Class Reference for .NET
Create(Stream,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 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 compression As FastInfosetCompression, _
   ByVal compressionLevel As System.Integer _
) As System.Xml.XmlWriter
'Usage
 
Dim output As System.IO.Stream
Dim compression As FastInfosetCompression
Dim compressionLevel As System.Integer
Dim value As System.Xml.XmlWriter
 
value = XmlFastInfosetWriter.Create(output, compression, compressionLevel)
public static System.Xml.XmlWriter Create( 
   System.IO.Stream output,
   FastInfosetCompression compression,
   System.int compressionLevel
)
public function Create( 
    output: System.IO.Stream;
    compression: FastInfosetCompression;
    compressionLevel: System.Integer
): System.Xml.XmlWriter; static; 
public static function Create( 
   output : System.IO.Stream,
   compression : FastInfosetCompression,
   compressionLevel : System.int
) : System.Xml.XmlWriter;
public: static System.Xml.XmlWriter* Create( 
   System.IO.Stream* output,
   FastInfosetCompression compression,
   System.int compressionLevel
) 
public:
static System.Xml.XmlWriter^ Create( 
   System.IO.Stream^ output,
   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.
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