Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Encoding::GetBytes Method

 

When overridden in a derived class, encodes a set of characters into a sequence of bytes.

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

NameDescription
System_CAPS_pubmethodGetBytes(Char*, Int32, Byte*, Int32)

When overridden in a derived class, encodes a set of characters starting at the specified character pointer into a sequence of bytes that are stored starting at the specified byte pointer.

System_CAPS_pubmethodGetBytes(array<Char>^)

When overridden in a derived class, encodes all the characters in the specified character array into a sequence of bytes.

System_CAPS_pubmethodGetBytes(array<Char>^, Int32, Int32)

When overridden in a derived class, encodes a set of characters from the specified character array into a sequence of bytes.

System_CAPS_pubmethodGetBytes(array<Char>^, Int32, Int32, array<Byte>^, Int32)

When overridden in a derived class, encodes a set of characters from the specified character array into the specified byte array.

System_CAPS_pubmethodGetBytes(String^)

When overridden in a derived class, encodes all the characters in the specified string into a sequence of bytes.

System_CAPS_pubmethodGetBytes(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.

Return to top
Show:
© 2017 Microsoft