InputScopeConverter.CanConvertTo(ITypeDescriptorContext, Type) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
.
Döndürülenler
true
türü ise destinationType
String; değilse , false
.
Şunlara uygulanır
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.