ImageSourceConverter.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.
örneğinin ImageSource farklı bir türe 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
Dönüştürmeyi değerlendirmek için kullanılan bağlam bilgilerini yazın.
- destinationType
- Type
Dönüştürmenin değerlendirildiği istenen tür.
Döndürülenler
true
dönüştürücü bu ImageSourceörneğini dönüştürebiliyorsa; aksi takdirde , false
.
Özel durumlar
context
örneği bir ImageSourcedeğildir.