Aracılığıyla paylaş


DependencyPropertyConverter.CanConvertTo(ITypeDescriptorContext, Type) Yöntem

Tanım

bir örneğinin DependencyProperty belirtilen 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

Bu dönüştürücüsü çağrıldığı ortam hakkında bilgi sağlayan bir biçim bağlamı.

destinationType
Type

Dönüştürme için değerlendirilen tür.

Döndürülenler

true bu dönüştürücü işlemi gerçekleştirebiliyorsa; aksi takdirde , false.

Açıklamalar

Bu uygulama her zaman döndürür false.

Şunlara uygulanır