TemplateBindingExtensionConverter.CanConvertTo Yöntem

Tanım

Bu dönüştürücü, belirtilen bağlamı kullanarak nesneyi belirtilen türe dönüştürebilir mi 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

Biçim ITypeDescriptorContext bağlamı sağlayan bir uygulama.

destinationType
Type

Dönüştürme çıkışının istenen türü.

Döndürülenler

Boolean

true bu dönüştürücü istenen dönüştürmeyi gerçekleştirebiliyorsa; aksi takdirde , false. Yalnızca bir destinationType değeri InstanceDescriptor döndürür true.

Şunlara uygulanır