IStringable IStringable IStringable IStringable Interface

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

Syntax

Declaration

public interface IStringablepublic interface IStringablePublic Interface IStringable

Remarks

Important

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

Methods summary

Gets a string that represents the current object.

Methods

  • ToString()
    ToString()
    ToString()
    ToString()

    Gets a string that represents the current object.

    public string ToString()public string ToString()Public Function ToString() As string

    Returns

    • string
      string
      string
      string

      A string that represents the current object.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.FoundationContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.GuidAttribute

Details

Assembly

Windows.Foundation.dll