Converts the value of the current instance to its equivalent string representation using the specified format.
The string representation of the value of the current instance as specified by format.
Type Reason FormatException format contains an invalid value.
If format is a null reference or an empty string, the return value is formatted using the general format specifier ("G").
Note: For details on the format specifiers used with an enumeration object, see Enum.Format(Type, object, string) .
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0