C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System
Enum Class
Enum Methods
ToString Method
ToString Method
ToString Method (IFormatProvider)
ToString Method (String)
ToString Method (String, IFormatProvider)
Enum
ToString Method (String)
Converts the value of this instance to its equivalent string representation using the specified format.
Namespace:
System
Assembly:
mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
Copy
public
string
ToString
(
string
format
)
Parameters
format
Type:
System
String
A format string.
Return Value
Type:
String
The string representation of the value of this instance as specified by
format
.
Exceptions
Exception
Condition
FormatException
format
contains an invalid specification.
InvalidOperationException
format
equals "X", but the enumeration type is unknown.
See Also
Reference
Enum Class
ToString Overload
System Namespace