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ün nesneyi belirtilen türe dönüştürip Unit dönüştürene kadar bir 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
ITypeDescriptorContextDönüştürülecek nesnenin bağlamını belirten bir.
Döndürülenler
true
dönüştürücü bir nesneyi hedef türüne Unit dönüştürmeyi destekliyorsa; aksi takdirde, false
.