Langue

FontStretchConverter.CanConvertTo(ITypeDescriptorContext, Type) Méthode

Définition

Détermine si une instance de FontStretch peut être convertie en un autre type.

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

Paramètres

context
ITypeDescriptorContext

Informations contextuelles d’un type.

destinationType
Type

Type souhaité vers lequel cette instance FontStretch est évaluée pour la conversion.

Retours

true si le convertisseur peut convertir FontStretch en destinationType; sinon, false.

S’applique à