This documentation is archived and is not being maintained.

Convert.ChangeType Method

Returns an Object with a specified type and whose value is equivalent to a specified object.

Name Description
Convert.ChangeType (Object, Type) Returns an Object with the specified Type and whose value is equivalent to the specified object.
Convert.ChangeType (Object, TypeCode) Returns an Object with the specified TypeCode and whose value is equivalent to the specified object.
Convert.ChangeType (Object, Type, IFormatProvider) Returns an Object with the specified Type and whose value is equivalent to the specified object. A parameter supplies culture-specific formatting information.

Supported by the .NET Compact Framework.

Convert.ChangeType (Object, TypeCode, IFormatProvider) Returns an Object with the specified TypeCode and whose value is equivalent to the specified object. A parameter supplies culture-specific formatting information.

Supported by the .NET Compact Framework.

Show: