Share via


GetBytes Method

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

Encodes a set of characters into a sequence of bytes.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method GetBytes(String) Encodes the characters in a specified String object into a sequence of bytes. (Overrides Encoding. . :: . .GetBytes(String).)
Public method GetBytes(String, Int32, Int32, array<Byte> [] () [] [], Int32) Encodes a set of characters from the specified String into the specified byte array. (Overrides Encoding. . :: . .GetBytes(String, Int32, Int32, array<Byte> [] () [] [], Int32).)

Top

See Also

Reference

UTF8Encoding Class

System.Text Namespace