Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetByteCount Method

Encoder.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 Supported by Silverlight for Windows Phone Supported by Xbox 360 GetByteCount(Char*, Int32, Boolean) Security Critical. When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer. A parameter indicates whether to clear the internal state of the encoder after the calculation.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetByteCount(Char[], Int32, Int32, Boolean) When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters from the specified character array. A parameter indicates whether to clear the internal state of the encoder after the calculation.
Top

Community Additions

ADD
Show:
© 2015 Microsoft