System.Web.UI.WebControls.UnitConverter.CanConvertFrom Method

Returns a value indicating whether the unit converter can convert from the specified source type.

Syntax

public override bool CanConvertFrom (System.ComponentModel.ITypeDescriptorContext context, Type sourceType)

Parameters

context
An System.ComponentModel.ITypeDescriptorContext instance that specifies the context of the object to convert.
sourceType
The type of the source.

Returns

true if the source type can be converted from; 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