ToString Method (IFormatProvider)

Enum.ToString Method (IFormatProvider)

Note: This API is now obsolete.

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

This method overload is obsolete; use Enum.ToString().

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

[ObsoleteAttribute("The provider argument is not used. Please use ToString().")]
public string ToString(
	IFormatProvider provider
)

Parameters

provider
Type: System.IFormatProvider
(obsolete)

Return Value

Type: System.String
The string representation of the value of this instance.

Implements

IConvertible.ToString(IFormatProvider)

Windows Phone OS

Obsolete (compiler warning) in 8.1
Obsolete (compiler warning) in 8.0
Obsolete (compiler warning) in 7.1
Obsolete (compiler warning) in 7.0

Windows Phone

Show:
© 2016 Microsoft