Returns a string containing the decoded representation of the specified byte array.
[Visual Basic] Overloads Overridable Public Function GetString( _ ByVal bytes() As Byte _ ) As String [C#] public virtual string GetString( byte[] bytes ); [C++] public: virtual String* GetString( unsigned char* bytes[] ); [JScript] public function GetString( bytes : Byte[] ) : String;
A string containing the decoded representation of the specified byte array.
Exception Type | Condition |
---|---|
ArgumentNullException | The bytes parameter is a null reference (in Visual Basic Nothing). |
Encoding Class | Encoding Members | System.Text Namespace | Encoding.GetString Overload List