Export (0) Print
Expand All

Enum.ToString Method (IFormatProvider)

Note: This API is now obsolete.

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)

Silverlight

Obsolete (compiler warning) in 5
Obsolete (compiler warning) in 4
Obsolete (compiler warning) in 3

Silverlight for Windows Phone

Obsolete (compiler warning) in Windows Phone OS 7.1
Obsolete (compiler warning) in Windows Phone OS 7.0

XNA Framework

Obsolete (compiler warning) in Xbox 360
Obsolete (compiler warning) in Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft