Modifica

Condividi tramite


FontSizeConverter.CanConvertTo(ITypeDescriptorContext, Type) Method

Definition

Determines if conversion of a font size value to a specified type is possible.

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ destinationType);
public override bool CanConvertTo (System.ComponentModel.ITypeDescriptorContext context, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (context As ITypeDescriptorContext, destinationType As Type) As Boolean

Parameters

context
ITypeDescriptorContext

Context information of a component such as its container and PropertyDescriptor.

destinationType
Type

The data type to evaluate for purposes of conversion.

Returns

true if this type can be converted; otherwise, false.

Applies to