ToString Method

Enum.ToString Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Converts the value of this instance to its equivalent string representation.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method ToString() Converts the value of this instance to its equivalent string representation. (Overrides ValueType.ToString().)
Public method ToString(IFormatProvider) Obsolete. This method overload is obsolete; use Enum.ToString().
Public method ToString(String) Converts the value of this instance to its equivalent string representation using the specified format.
Public method ToString(String, IFormatProvider) Obsolete. This method overload is obsolete; use Enum.ToString(String).
Top

Show:
© 2017 Microsoft