NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Encoding.GetByteCount

Obtains the number of bytes required to encode a specified character array.

Overload List

When overridden in a derived class, returns the number of bytes required to encode a range of characters in the specified character array.

[Visual Basic] Overloads MustOverride Public Function GetByteCount(Char(), Integer, Integer) As Integer
[C#] public abstract int GetByteCount(char[], int, int);
[C++] public: virtual int GetByteCount(__wchar_t*[], int, int) = 0;
[JScript] public abstract function GetByteCount(Char[], int, int) : int;

Returns the number of bytes required to encode a specified character array.

[Visual Basic] Overloads Overridable Public Function GetByteCount(Char()) As Integer
[C#] public virtual int GetByteCount(char[]);
[C++] public: virtual int GetByteCount(__wchar_t*[]);
[JScript] public function GetByteCount(Char[]) : int;

See Also

Encoding Class | Encoding Members | System.Text Namespace