Condividi tramite


Encoding.GetByteCount Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters.

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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetByteCount(array<Char[]) When overridden in a derived class, calculates the number of bytes produced by encoding all the characters in the specified character array.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetByteCount(String) When overridden in a derived class, calculates the number of bytes produced by encoding the characters in the specified string.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetByteCount(array<Char[], Int32, Int32) When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters from the specified character array.

Top