IStringable.ToString method

Gets a string that represents the current object.

Syntax


string ToString()

Parameters

This method has no parameters.

Return value

Type: System.String [.NET] | Platform::String [C++]

A string that represents the current object.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Windows.winmd

See also

IStringable

 

 

Show:
© 2015 Microsoft