Search
Convert Members
Methods
 


Converts various types to and from string in a locale-independent way.

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

 Public Methods

  Name Description

fromBase64String

Converts the specified encoded string to plain text

fromBoolean

Converts the specified bool value to string.

fromColor

Overloaded.  

fromDouble

Converts the specified double to string.

fromImage

Converts the specified image to string.

fromInt16

Converts the specified short to string.

fromInt32

Converts the specified int to string.

fromInt64

Converts the specified long to string.

fromPointString

Converts the specified comma separated string to a list of PointF objects.

fromSingle

Converts the specified float to string.

toBase64String

Converts the specified plainText string to Base64String

toBoolean

Converts the specified string value to bool.

toColor

Converts the specified string to Color. The string should be in the format #AARRGGBB.

toColor1

Converts the specified string to Color. The string should be in the format #AARRGGBB or rgba(0,0,0,0) default value Black

toDouble

Converts the specified string to double.

toImage

Converts the specified string value to image.

toInt16

Converts the specified string to short.

toInt32

Converts the specified string to int.

toInt64

Converts the specified string to long.

toPointString

Converts the list of PointF objects to a comma separated string.

toSingle

Converts the specified string to float.

 See Also