IStringable interface

IStringable interface

Provides a way to represent the current object as a string.

Syntax


public interface IStringable

Members

The IStringable interface has these types of members:

Methods

The IStringable interface has these methods. It also inherits methods from the Object class.

MethodDescription
ToString Gets a string that represents the current object.

 

Remarks

Important  Managed types should not implement the IStringable interface. For more info, see Object.ToString Method.
 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

[Version(0x06030000)]

 

 

Show:
© 2016 Microsoft