System.Web.UI.WebControls.UnitConverter.CanConvertTo Method

Returns a value indicating whether the converter can convert a System.Web.UI.WebControls.Unit object to the specified type.

Syntax

public override bool CanConvertTo (System.ComponentModel.ITypeDescriptorContext context, Type destinationType)

Parameters

context
An System.ComponentModel.ITypeDescriptorContext that indicates the context of the object to convert.
destinationType
The Type that represents the data type to convert to.

Returns

true if the converter supports converting a System.Web.UI.WebControls.Unit object to the destination type; otherwise, false.

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