Export (0) Print
Expand All

Convert.ChangeType Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member ChangeType(Object, Type) Returns an object of the specified type and whose value is equivalent to the specified object.
Public method Static member ChangeType(Object, TypeCode) Returns an object of the specified type whose value is equivalent to the specified object.
Public method Static member ChangeType(Object, Type, IFormatProvider) Returns an object of the specified type whose value is equivalent to the specified object. A parameter supplies culture-specific formatting information.
Public method Static member ChangeType(Object, TypeCode, IFormatProvider) Returns an object of the specified type whose value is equivalent to the specified object. A parameter supplies culture-specific formatting information.
Top
Show:
© 2014 Microsoft