Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. System.Text
  3. UnicodeEncoding
  4. Preamble
  • UnicodeEncoding
    • CharSize
    • UnicodeEncoding()
    • UnicodeEncoding(Boolean, Boolean)
    • UnicodeEncoding(Boolean, Boolean, Boolean)
    • Preamble
    • Equals(Object)
    • GetByteCount(String)
    • GetByteCount(Char*, Int32)
    • GetByteCount(Char[], Int32, Int32)
    • GetBytes(String)
    • GetBytes(Char*, Int32, Byte*, Int32)
    • GetBytes(Char[], Int32, Int32, Byte[], Int32)
    • GetBytes(String, Int32, Int32, Byte[], Int32)
    • GetCharCount(Byte*, Int32)
    • GetCharCount(Byte[], Int32, Int32)
    • GetChars(Byte*, Int32, Char*, Int32)
    • GetChars(Byte[], Int32, Int32, Char[], Int32)
    • GetDecoder()
    • GetEncoder()
    • GetHashCode()
    • GetMaxByteCount(Int32)
    • GetMaxCharCount(Int32)
    • GetPreamble()
    • GetString(Byte[], Int32, Int32)
net9.0
namespace System.Text
{
    public class UnicodeEncoding : Encoding
    {
        public override ReadOnlySpan<byte> Preamble { get; }
    }
}
.NET
5.06.07.08.09.0
.NET Core
3.03.1
Information specific to net9.0
Assembly

System.Text.Encoding.Extensions , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Platform Restrictions

The property getter is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

10/16/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙