Aracılığıyla paylaş


FontStretchConverter.ConvertTo Yöntem

Tanım

bir örneğini FontStretch belirtilen türe dönüştürmeyi dener.

public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value, Type ^ destinationType);
[System.Security.SecurityCritical]
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);
[<System.Security.SecurityCritical>]
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
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

Bir türün bağlam bilgileri.

culture
CultureInfo

CultureInfo dönüştürülmekte olan türün.

value
Object

Dönüştürülecek örneği FontStretch .

destinationType
Type

Bu örneğinin FontStretch dönüştürüldüğü tür.

Döndürülenler

Object

dönüştürülen örneğinden FontStretcholuşturulan nesne.

Öznitelikler

Özel durumlar

valuenull

-veya- value bir örnek değildir FontStretch

-veya- destinationType geçerli bir hedef türü değil.

Şunlara uygulanır