Noemax FastInfoset.NET Report an issue | Discuss in forums
XmlFastInfosetWriter.Create(string,XmlWriterSettings) Method
See Also 
Noemax.FastInfoset Assembly > Noemax.FastInfoset Namespace > XmlFastInfosetWriter Class > Create Method : Create(String,XmlWriterSettings) Method



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 (Northing 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.


Namespace: Noemax.FastInfoset
Assembly: Noemax.FastInfoset (in Noemax.FastInfoset.dll)

Syntax

Visual Basic (Declaration) 
Overloads Public Shared Function Create( _
   ByVal outputFileName As String, _
   ByVal settings As XmlWriterSettings _
) As XmlWriter
Visual Basic (Usage)Copy Code
Dim outputFileName As String
Dim settings As XmlWriterSettings
Dim value As XmlWriter
 
value = XmlFastInfosetWriter.Create(outputFileName, settings)
C# 
public static XmlWriter Create( 
   string outputFileName,
   XmlWriterSettings settings
)
C++/CLI 
public:
static XmlWriter Create( 
   String^ outputFileName,
   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 (Northing in Visual Basic), a XmlWriterSettings with default settings is used.

Return Value

An System.Xml.XmlWriter object.

Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0

.NET Compact Framework

Supported in: 3.5, 2.0

See Also