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.

FromDecimal

Converts the specified decimal to string.

FromDouble

Converts the specified double value to string.

FromEnum

Converts the specified enum value to a string.

FromImage

Converts the specified image to string.

FromImageV4

Converts the specified image to string.

FromInt16

Converts the specified 16-bit integer value to string.

FromInt32

Converts the specified 32-bit integer value to string.

FromInt64

Converts the specified 64-bit integer to string.

FromSByte

Converts the specified 8-bit signed integer to string.

FromSingle

Converts the specified float value to string.

FromStream

Converts the specified stream to string.

FromStreamV4

Converts the specified memory stream to string.

FromUInt16

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

FromUInt32

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

FromUInt64

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

ImageFromString

Converts the specified string value to image.

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

Converts the specified string value to Color.

ToDecimal

Converts the specified string value to decimal.

ToDouble

Converts the specified string value to double.

ToEnum

Converts the specified string value to its corresponding enumeration member of the specified type.

ToImage

Converts the specified string value to image.

ToImageV4

Converts the specified string value to image.

ToInt16

Converts the specified string value to 16-bit integer.

ToInt32

Overloaded. Converts a string value to 32-bit integer.

ToInt64

Converts the specified string value to 64-bit integer.

ToSByte

Converts the specified string value to 8-bit signed integer.

ToSingle

Converts the specified string value to float.

ToStream

Converts the specified string value to stream.

ToStreamV4

Converts the specified string value to stream.

ToUint16

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

ToUint32

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

ToUint64

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

 See Also