Converts the name of the value of the current instance to
its equivalent string
representation.
[Edit]
[System.Obsolete("Provider is ignored, just use ToString")] public string ToString (IFormatProvider provider) |
|
Parameters
- provider
- An object that implements the IFormatProvider interface or a null reference. The IFormatProvider is not used in the implementation of this method.
Note: There is no
IFormatProvider that corresponds to a
Enum object; therefore,
provider is not utilized by this method, and any
IFormatProvider may be passed as a parameter.
[Edit]
Returns
The string representation of
the name of the value of the current instance.
[Edit]
Remarks
Requirements
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0