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.

  NameDescription
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 Supported by the .NET Compact Framework Supported by the XNA Framework 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 Supported by the .NET Compact Framework Supported by the XNA Framework 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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft