Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This property sets and gets encoding for the output.

Syntax

[propput]
HRESULT encoding(
[in] BSTR 
strEncoding
);
[propget]
HRESULT encoding(
[out, retval] BSTR* 
strEncoding
);

Parameters

strEncoding

String used to identify encoding.

Return Value

S_OK

Returned if no errors are reported.

Remarks

The default string is dependent on implementation.

If the output is a string, the encoding parameter is ignored.

Requirements

Header msxml2.h, msxml2.idl
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IMXWriter