Επεξεργασία

Κοινή χρήση μέσω


BinaryData.ToString Method

Definition

Converts the value of this instance to a string using UTF-8.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A string representation of the value of this instance.

Remarks

No special treatment is given to the contents of the data. It is merely decoded as a UTF-8 string. For a JPEG or other binary file format, the string will largely be nonsense with many embedded NUL characters. UTF-8 JSON values will look like their file or network representation, including starting and stopping quotes on a string.

Applies to