PropertyPathConverter.ConvertTo 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.
Belirtilen değer nesnesini türüne PropertyPath dönüştürür.
public:
override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, System::Globalization::CultureInfo ^ cultureInfo, System::Object ^ value, Type ^ destinationType);
public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, System.Globalization.CultureInfo cultureInfo, object value, Type destinationType);
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
Public Overrides Function ConvertTo (typeDescriptorContext As ITypeDescriptorContext, cultureInfo As CultureInfo, value As Object, destinationType As Type) As Object
Parametreler
- typeDescriptorContext
- ITypeDescriptorContext
Biçim ITypeDescriptorContext bağlamı sağlayan.
- cultureInfo
- CultureInfo
CultureInfo geçerli kültür olarak kullanılacak.
- value
- Object
Dönüştürülecek PropertyPath .
Döndürülenler
Dönüştürülen hedef String.
Özel durumlar
olarak valuenullsağlanmıştır.
value değeri değildinull, ancak beklenen PropertyPath türde değildi.
-veya-
Türü destinationType bu değildi String .