FastInfoset.NET Class Reference for Mono
Create(String,XmlWriterSettings) Method






The file to which you want to write XmlWriter creates a file at the specified path. The outputFileName must be a file system path.
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.
Creates a new XmlWriter instance for writing Fast Infoset encoded XML into the specified stream using an XmlWriterSettings object.
Syntax
'Declaration
 
Public Overloads Shared Shadows Function Create( _
   ByVal outputFileName As System.String, _
   ByVal settings As System.Xml.XmlWriterSettings _
) As System.Xml.XmlWriter
'Usage
 
Dim outputFileName As System.String
Dim settings As System.Xml.XmlWriterSettings
Dim value As System.Xml.XmlWriter
 
value = XmlFastInfosetWriter.Create(outputFileName, settings)
public new static System.Xml.XmlWriter Create( 
   System.string outputFileName,
   System.Xml.XmlWriterSettings settings
)
public function Create( 
    outputFileName: System.String;
    settings: System.Xml.XmlWriterSettings
): System.Xml.XmlWriter; static; 
public hide static function Create( 
   outputFileName : System.String,
   settings : System.Xml.XmlWriterSettings
) : System.Xml.XmlWriter;
public: new static System.Xml.XmlWriter* Create( 
   System.string* outputFileName,
   System.Xml.XmlWriterSettings* settings
) 
public:
new static System.Xml.XmlWriter^ Create( 
   System.String^ outputFileName,
   System.Xml.XmlWriterSettings^ settings
) 

Parameters

outputFileName
The file to which you want to write XmlWriter creates a file at the specified path. The outputFileName must be a file system path.
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.

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