C# Enum ToString(String, IFormatProvider)
Description
Enum ToString(String, IFormatProvider)
this method
overload is obsolete; use Enum.ToString(String).
Syntax
Enum.ToString(String, IFormatProvider)
has the following syntax.
[ObsoleteAttribute("The provider argument is not used. Please use ToString(String).")]
public string ToString(
string format,//from www. ja v a2 s .c om
IFormatProvider provider
)
Parameters
Enum.ToString(String, IFormatProvider)
has the following parameters.
format
- A format specification.provider
- (Obsolete.)
Returns
Enum.ToString(String, IFormatProvider)
method returns The string representation of the value of this instance as specified by format.