XmlUtilsCreateXmlWriter Method (String, Encoding) | 
 
            Creates a new XML text writer with the encoding specified
            
 
    Namespace: 
   SD.LLBLGen.Pro.Core.Xml
    Assembly:
   SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.12.0.0 (5.12.0)
Syntaxpublic 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