UnitConverter.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.
Dönüştürücüün bir nesneyi belirtilen türe dönüştürebileceğini belirten bir Unit değer döndürür.
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
ITypeDescriptorContext Dönüştürülecek nesnenin bağlamını gösteren bir.
Döndürülenler
true dönüştürücü bir Unit nesneyi hedef türe dönüştürmeyi destekliyorsa; değilse, false.