Aracılığıyla paylaş


FontUnitConverter.CanConvertTo(ITypeDescriptorContext, Type) Yöntem

Tanım

Dönüştürücünün bir nesneyi belirtilen türe dönüştürip FontUnit dönüştürene kadar olup olmadığını belirten bir değer döndürür.

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

ITypeDescriptorContextDönüştürülecek nesnenin bağlamını belirten bir.

destinationType
Type

Dönüştürülecek Type veri türünü temsil eden bir.

Döndürülenler

Boolean

true dönüştürücü bir nesneyi hedef türüne FontUnit dönüştürmeyi destekliyorsa; aksi takdirde, false .

Açıklamalar

Bu yöntem yalnızca ise true destinationType olarak String döner. Bu dönüştürücünün dönüştürülmesi için tek FontUnit tür şu String şekildedir: .

Şunlara uygulanır

Ayrıca bkz.