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. GetBytes(String)
  • 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)
net11
namespace System.Text
{
    public class UnicodeEncoding : Encoding
    {
        public override byte[] GetBytes(string s);
    }
}
.NET Framework
1.01.1
Information specific to net11
Assembly

mscorlib , Version=1.0.5000.0, PublicKeyToken=b77a5c561934e089

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

10/15/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 🗙