UnitConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)
Assembly: System.Web (in system.web.dll)
public: virtual Object^ ConvertTo ( ITypeDescriptorContext^ context, CultureInfo^ culture, Object^ value, Type^ destinationType ) override
public Object ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType )
public override function ConvertTo ( context : ITypeDescriptorContext, culture : CultureInfo, value : Object, destinationType : Type ) : Object
Parameters
- context
An ITypeDescriptorContext instance that indicates the context of the object to convert.
- culture
A System.Globalization.CultureInfo object that represents information about a culture such as language, calendar system, and so on. This parameter is not used in this method. It is reserved for future versions of this method. You can optionally pass a null reference (Nothing in Visual Basic) for this parameter.
- value
The object to convert.
- destinationType
The type to convert to.
Return Value
The object resulting from conversion.Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.