Aracılığıyla paylaş


FontSizeConverter.ConvertTo Yöntem

Tanım

Bir Double değeri belirtilen türe dönüştürür.

public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value, Type ^ destinationType);
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
Public Overrides Function ConvertTo (context As ITypeDescriptorContext, culture As CultureInfo, value As Object, destinationType As Type) As Object

Parametreler

context
ITypeDescriptorContext

Kapsayıcısı ve PropertyDescriptorgibi bir bileşenin bağlam bilgileri.

culture
CultureInfo

Yazma sistemi ve kullanılan takvim de dahil olmak üzere kültürel özel bilgiler.

value
Object

Dönüştürülen Object .

destinationType
Type

Bu yazı tipi boyutu değerinin dönüştürüldüğü veri türü.

Döndürülenler

Dönüştürmenin değeri olan yeni Object .

Şunlara uygulanır