IStringable::ToString method (windows.foundation.h)

Gets a string that represents the current object.

Syntax

HRESULT ToString(
  [out] HSTRING *value
);

Parameters

[out] value

A string representation of the current object.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps UWP apps]
Target Platform Windows
Header windows.foundation.h

See also

HSTRING

IStringable