FontStretchConverter.ConvertTo Methode

Definition

Versucht, eine Instanz eines FontStretch angegebenen Typs zu konvertieren.

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

Parameter

context
ITypeDescriptorContext

Kontextinformationen eines Typs.

culture
CultureInfo

CultureInfo des Typs, der konvertiert wird.

value
Object

Die Instanz der FontStretch Konvertierung.

destinationType
Type

Der Typ, in den FontStretch diese Instanz konvertiert wird.

Gibt zurück

Das objekt, das aus der konvertierten Instanz von FontStretch.

Attribute

Ausnahmen

value ist null

-oder-

value ist keine Instanz von FontStretch

-oder-

destinationType ist kein gültiger Zieltyp.

Gilt für: