Aracılığıyla paylaş


InputScopeConverter.CanConvertTo(ITypeDescriptorContext, Type) Yöntem

Tanım

Bir InputScope nesnenin belirtilen türde bir nesneye 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

Herhangi bir tür tanımlayıcı bağlamı açıklayan bir nesne. Bu nesne arabirimini ITypeDescriptorContext uygulamalıdır. Bu parametre olabilir null.

destinationType
Type

Dönüştürme uyumluluğunu denetlemek için A Type .

Döndürülenler

true türü ise destinationTypeString; değilse , false.

Şunlara uygulanır