Share via


UTF8 Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets an encoding for the UTF-8 format.

Namespace:  System.Text
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Shared ReadOnly Property UTF8 As Encoding
public static Encoding UTF8 { get; }
public:
static property Encoding^ UTF8 {
    Encoding^ get ();
}
static member UTF8 : Encoding with get
static function get UTF8 () : Encoding

Property Value

Type: System.Text. . :: . .Encoding
An encoding for the UTF-8 format.

Remarks

This property returns a UTF8Encoding object that encodes Unicode characters into a sequence of one to four bytes per character, and that decodes a UTF-8-encoded byte array to Unicode characters.

.NET Framework Security

See Also

Reference

Encoding Class

System.Text Namespace