XmlUtilsCreateXmlWriter Method (String, Encoding) |
Creates a new XML text writer with the encoding specified
Namespace: SD.LLBLGen.Pro.Core.XmlAssembly: SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.0.0.0 (5.0.0)
Syntax public static XmlWriter CreateXmlWriter(
string filename,
Encoding encodingToUse
)
Public Shared Function CreateXmlWriter (
filename As String,
encodingToUse As Encoding
) As XmlWriter
Parameters
- filename
- Type: SystemString
The filename. - encodingToUse
- Type: System.TextEncoding
The encoding to use.
Return Value
Type:
XmlWriterready to use xmlwriter
See Also