BinaryData.ToString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET