Sets and gets encoding for the output.
oMXXMLWriter.encoding = strValue strValue = oMXXMLWriter.encoding
String. Read/write. The default string is empty, that is, UTF-16. Microsoft® Visual Basic® strings are always UTF-16 encoded. If your output is a string, the encoding parameter is ignored.
[propput] HRESULT encoding ( [in] BSTR strEncoding);
[propget] HRESULT encoding ( [out, retval] BSTR * strEncoding);
The default string is empty, that is, UTF-16.
If your output is a string, the encoding parameter is ignored.
To view reference material for Visual Basic or C++ only, click the Language Filter button in the upper-left corner of the page.
Character Encoding, XML, and MSXML
Applies to: MXXMLWriter CoClass