Share via


EventSetterHandlerConverter.CanConvertTo(ITypeDescriptorContext, Type) Yöntem

Tanım

Bu dönüştürücünin nesneyi belirtilen türe dönüştürip dönüştüremeyeceğini döndürür.

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, Type ^ destinationType);
public override bool CanConvertTo (System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (typeDescriptorContext As ITypeDescriptorContext, destinationType As Type) As Boolean

Parametreler

typeDescriptorContext
ITypeDescriptorContext

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

destinationType
Type

Type Dönüştürmek istediğiniz türü temsil eden bir.

Döndürülenler

Her zaman false döndürür.

Şunlara uygulanır