Enum.ToString Method (IFormatProvider)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Note: This API is now obsolete.
This method overload is obsolete; use Enum.ToString().
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
<ObsoleteAttribute("The provider argument is not used. Please use ToString().")> _
Public Function ToString ( _
provider As IFormatProvider _
) As String
[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
Version Information
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
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.