FontUnitConverter.CanConvertTo Method (ITypeDescriptorContext, Type)
.NET Framework 3.0
This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Returns a value indicating whether the converter can convert a FontUnit object to the specified type.
Namespace: System.Web.UI.WebControlsAssembly: System.Web (in system.web.dll)
public: virtual bool CanConvertTo ( ITypeDescriptorContext^ context, Type^ destinationType ) override
public boolean CanConvertTo ( ITypeDescriptorContext context, Type destinationType )
public override function CanConvertTo ( context : ITypeDescriptorContext, destinationType : Type ) : boolean
Not applicable.
Parameters
- context
An ITypeDescriptorContext that indicates the context of the object to convert.
- destinationType
A System.Type that represents the data type to convert to.
Return Value
true if the converter supports converting a 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 FontUnit into is String. |
Community Additions
ADD
Show:
Note: