Search
Converter Members
Methods
 


Provides capabilities to convert various types to and from strings in a culture-independent way.

The following tables list the members exposed by the Converter type.

 Public Methods

  Name Description

fromBoolean

Converts the specified bool value to string.

fromByte

Converts the specified byte value to string.

fromChar

Converts the specified char value to string.

fromColor

Converts the specified color value to string in the format #AARRGGBB.

fromColor2

Converts the specified color value to string in the format #RRGGBB.

fromColor3

Converts the specified color value to string in the format AARRGGBB.

fromColor4

Converts the specified color value to string in the format RRGGBB.

fromDecimal

Converts the specified decimal to string.

fromDouble

Converts the specified double value to string.

fromImage

Converts the specified image to string.

fromInt

Overloaded. Converts the specified value to string.

fromLong

Converts the specified long value to string.

fromShort

Converts the specified short value to string.

fromSingle

Converts the specified float value to string.

toBoolean

Converts the specified string value to bool.

toByte

Converts the specified string value to byte value.

toChar

Converts the specified string value to char.

toColor

Overloaded.  

toDecimal

Converts the specified string value to decimal.

toDouble

Converts the specified string value to double.

toImage

Converts the specified string value to image.

toInt

Overloaded. Converts a string value to an integer.

toLong

Converts the specified string value to long.

toShort

Converts the specified string value to unsigned 16-bit integer.

toSingle

Converts the specified string value to float.

 See Also