Aracılığıyla paylaş


FontStretchConverter.CanConvertTo(ITypeDescriptorContext, Type) Yöntem

Tanım

örneğinin FontStretch farklı bir türe dönüştürülip dönüştürülemeyeceğini belirler.

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

Parametreler

context
ITypeDescriptorContext

Bir türün bağlam bilgileri.

destinationType
Type

Bu örneğinin FontStretch dönüştürülmek üzere değerlendirilmekte olduğu istenen tür.

Döndürülenler

true dönüştürücü olarak dönüştürülebiliyorsa FontStretchdestinationType; dönüştüremiyorsa, false.

Şunlara uygulanır