FontSizeConverter.ConvertFrom Methode

Definition

Konvertiert den angegebenen Typ in ein Double.

public:
 override System::Object ^ ConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value);
public override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value);
override this.ConvertFrom : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj -> obj
Public Overrides Function ConvertFrom (context As ITypeDescriptorContext, culture As CultureInfo, value As Object) 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

Der Wert, der in einen Schriftgradwert konvertiert wird.

Gibt zurück

Object

Ein Double-Wert, der den konvertierten Schriftgradwert darstellt.

Gilt für