This documentation is archived and is not being maintained.

# Convert Members

**Visual Studio 2008**

Converts a base data type to another base data type.

The Convert type exposes the following members.

Name | Description | |
---|---|---|

ChangeType | Overloaded. Returns an object of a specified type whose value is equivalent to a specified object. | |

FromBase64CharArray | Converts a subset of a Unicode character array, which encodes binary data as base-64 digits, to an equivalent 8-bit unsigned integer array. Parameters specify the subset in the input array and the number of elements to convert. | |

FromBase64String | Converts the specified string, which encodes binary data as base-64 digits, to an equivalent 8-bit unsigned integer array. | |

GetTypeCode | Returns the TypeCode for the specified object. | |

IsDBNull | Returns an indication whether the specified object is of type DBNull. | |

ToBase64CharArray | Overloaded. Converts a subset of an 8-bit unsigned integer array to an equivalent subset of a Unicode character array encoded with base-64 digits. | |

ToBase64String | Overloaded. Converts the value of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits. | |

ToBoolean | Overloaded. Converts a specified value to an equivalent Boolean value. | |

ToByte | Overloaded. Converts a specified value to an 8-bit unsigned integer. | |

ToChar | Overloaded. Converts a specified value to a Unicode character. | |

ToDateTime | Overloaded. Converts a specified value to a DateTime value. | |

ToDecimal | Overloaded. Converts a specified value to a decimal number. | |

ToDouble | Overloaded. Converts a specified value to a double-precision floating-point number. | |

ToInt16 | Overloaded. Converts a specified value to a 16-bit signed integer. | |

ToInt32 | Overloaded. Converts a specified value to a 32-bit signed integer. | |

ToInt64 | Overloaded. Converts a specified value to a 64-bit signed integer. | |

ToSByte | Overloaded. Converts a specified value to an 8-bit signed integer. | |

ToSingle | Overloaded. Converts a specified value to a single-precision floating-point number. | |

ToString | Overloaded. Converts the specified value to its equivalent string representation. | |

ToUInt16 | Overloaded. Converts a specified value to a 16-bit unsigned integer. | |

ToUInt32 | Overloaded. Converts a specified value to a 32-bit unsigned integer. | |

ToUInt64 | Overloaded. Converts a specified value to a 64-bit unsigned integer. |

Show: