FontSizeConverter.ConvertTo Methode

Definition

Konvertiert einen Double-Wert in einen angegebenen 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

Parameter

context
ITypeDescriptorContext

Kontextinformationen für eine Komponente, z. B. ihr Container und ihr PropertyDescriptor.

culture
CultureInfo

Kulturspezifische Informationen, einschließlich des verwendeten Schriftsystems und des verwendeten Kalenders.

value
Object

Das Object, das konvertiert wird.

destinationType
Type

Der Datentyp, in den dieser Schriftgradwert konvertiert wird.

Gibt zurück

Object

Ein neues Object, das dem Wert der Konvertierung entspricht.

Gilt für