FontUnitConverter.CanConvertFrom Method (ITypeDescriptorContext, Type)
.NET Framework (current version)
Determines whether a data type can be converted to a FontUnit.
Assembly: System.Web (in System.Web.dll)
Public Overrides Function CanConvertFrom ( context As ITypeDescriptorContext, sourceType As Type ) As Boolean
Parameters
- context
-
Type:
System.ComponentModel.ITypeDescriptorContext
A System.ComponentModel.ITypeDescriptorContext implemented object that provides information about the context of a type converter.
- sourceType
-
Type:
System.Type
A System.Type that represents the data type to check.
Return Value
Type: System.Booleantrue if the data type specified by the sourceType parameter can be converted to a FontUnit; otherwise, false.
.NET Framework
Available since 1.1
Available since 1.1
Show:
