IStringable IStringable IStringable IStringable Interface

Definition

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

public : interface IStringablepublic interface IStringablePublic Interface IStringable// You can use this interface in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Remarks

Important

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

Methods

ToString() ToString() ToString() ToString()

Gets a string that represents the current object.

public : PlatForm::String ToString()public string ToString()Public Function ToString() As string// You can use this method in JavaScript.
Returns
PlatForm::String string string string

A string that represents the current object.