FontSizeConverter.ConvertTo Metod

Definition

Konverterar ett Double värde till en angiven typ.

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

Parametrar

context
ITypeDescriptorContext

Kontextinformation för en komponent, till exempel containern och PropertyDescriptor.

culture
CultureInfo

Kulturell specifik information, inklusive skrivsystem och kalender som används.

value
Object

Konverteras Object .

destinationType
Type

Datatypen det här teckensnittsstorleksvärdet konverteras till.

Returer

En ny Object som är värdet för konverteringen.

Gäller för