Returns whether or not the unit converter can convert from the specified source type.
[Visual Basic] Overrides Public Function CanConvertFrom( _ ByVal context As ITypeDescriptorContext, _ ByVal sourceType As Type _ ) As Boolean [C#] public override bool CanConvertFrom( ITypeDescriptorContext context, Type sourceType ); [C++] public: override bool CanConvertFrom( ITypeDescriptorContext* context, Type* sourceType ); [JScript] public override function CanConvertFrom( context : ITypeDescriptorContext, sourceType : Type ) : Boolean;
true if the source type can be converted from, otherwise false.
UnitConverter Class | UnitConverter Members | System.Web.UI.Design Namespace