.NET Components
Chilkat .NET Components for Email, Zip Compression, Encryption, XML, S/MIME, and Character Encoding Conversion

Back to Xml Class Summary

Xml::Encoding

This is the encoding attribute in the XML declaration, such as "utf-8" or "iso-8859-1". If not present, this property returns an empty string. This property can be set from any node in the XML document and when set, causes the encoding property to be added to the XML declaration. Setting this property does not cause the document to be converted to a different encoding.

  Declarations  
    [Visual Basic]
Public Property Encoding As String

[C#]
public string Encoding {get; set;}

[C++]
public: __property String* get_Encoding();
public: __property void set_Encoding(String *);

[JScript]
public function get Encoding() : String;
public function set Encoding(String);
 

Copyright 2002, Chilkat Software, Inc. All Rights Reserved.