共用方式為


xmlEncoding property

Gets a value that represents the character encoding that is specified in the declaration of an XML document.

 

Syntax

HRESULT value = object.get_xmlEncoding(BSTR* p);

Property values

Type: BSTR

A BSTR that represents the character encoding, or a NULL value if the character encoding is not specified in the declaration or the specified value is not known.

Standards information