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!

BitConverter.GetBytes (Char)

Converts a unicode character into an array of unsigned bytes with length 2.

[Visual Basic]
Overloads Public Shared Function GetBytes( _
   ByVal value As Char _
) As Byte ()
[C#]
public static byte[] GetBytes(
   char value
);
[C++]
public: static unsigned char* GetBytes(
   __wchar_t value
) [];
[JScript]
public static function GetBytes(
   value : Char
) : Byte[];

Parameters

value
The character to be converted.

Return Value

An array of unsigned bytes with length two.

See Also

BitConverter Class | BitConverter Members | System Namespace | BitConverter.GetBytes Overload List