Share via


GetBytes Method

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

When overridden in a derived class, 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) When overridden in a derived class, encodes all the characters in the specified string into a sequence of bytes.
Public method GetBytes(String, Int32, Int32, array<Byte> [] () [] [], Int32) When overridden in a derived class, encodes a set of characters from the specified string into the specified byte array.

Top

See Also

Reference

Encoding Class

System.Text Namespace