System.Web.UI.WebControls.UnitConverter.ConvertTo Method

Performs type conversion to the specified destination type given the specified context, object and argument list.

Syntax

public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)

Parameters

context
An System.ComponentModel.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 null for this parameter.
value
The object to convert.
destinationType
The type to convert to.

Returns

The object resulting from conversion.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0