ListBindingConverter.CanConvertTo(ITypeDescriptorContext, Type) 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);
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.

destinationType
Type

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

Döndürülenler

Boolean

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

Şunlara uygulanır

Ayrıca bkz.