Share via


UTF8Encoding Constructor

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

Initializes a new instance of the UTF8Encoding class.

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

Syntax

'Declaration
Public Sub New
public UTF8Encoding()
public:
UTF8Encoding()
new : unit -> UTF8Encoding
public function UTF8Encoding()

Remarks

This constructor creates an instance that does not provide a Unicode byte order mark and does not throw an exception when an invalid encoding is detected.

.NET Framework Security

See Also

Reference

UTF8Encoding Class

System.Text Namespace