System.Web.UI.WebControls.FontUnitConverter.CanConvertTo Method

Returns a value indicating whether the converter can convert a System.Web.UI.WebControls.FontUnit 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
A Type that represents the data type to convert to.

Returns

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

Note:

This method will return true only if the destinationType is string. The only type this converter can convert System.Web.UI.WebControls.FontUnit into is string.

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