Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Encoding.GetByteCount Method

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.

  Name Description
Public method GetByteCount(Char[]) When overridden in a derived class, calculates the number of bytes produced by encoding all the characters in the specified character array.
Public method GetByteCount(String) When overridden in a derived class, calculates the number of bytes produced by encoding the characters in the specified string.
Public method GetByteCount(Char*, Int32) When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer.
Public method GetByteCount(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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.