Export (0) Print
Expand All

Encoding.HeaderName Property

Gets the name for this encoding that can be used with mail agent header tags.

[Visual Basic]
Public Overridable ReadOnly Property HeaderName As String
[C#]
public virtual string HeaderName {get;}
[C++]
public: __property virtual String* get_HeaderName();
[JScript]
public function get HeaderName() : String;

Property Value

The name for this encoding that can be used with mail agent header tags.

Remarks

For example, if this encoding is equivalent to UTF8Encoding, this property returns "utf-8".

If the encoding cannot be used, the string is empty.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Encoding Class | Encoding Members | System.Text Namespace

Show:
© 2015 Microsoft