Aracılığıyla paylaş


XPathMessageContextTypeConverter.CanConvertTo Yöntem

Tanım

Bir türün hedef türe dönüştürülip dönüştürülene olmadığını siner.

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 bağlamını sağlayan bir tür.

destinationType
Type

Biçim bağlamını sağlayan bir tür.

Döndürülenler

Boolean

true dönüştürme gerçekleştirilenin ise; aksi takdirde, false .

Şunlara uygulanır