This documentation is archived and is not being maintained.
TypeConverter.ConvertTo Method
.NET Framework 1.1
Converts the given value object to the specified type.
Overload List
Converts the given value object to the specified type, using the arguments.
[Visual Basic] Overloads Public Function ConvertTo(Object, Type) As Object
[C#] public object ConvertTo(object, Type);
[C++] public: Object* ConvertTo(Object*, Type*);
[JScript] public function ConvertTo(Object, Type) : Object;
Converts the given value object to the specified type, using the specified context and culture information.
[Visual Basic] Overloads Public Overridable Function ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) As Object
[C#] public virtual object ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type);
[C++] public: virtual Object* ConvertTo(ITypeDescriptorContext*, CultureInfo*, Object*, Type*);
[JScript] public function ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) : Object;
See Also
TypeConverter Class | TypeConverter Members | System.ComponentModel Namespace
Show: