SetterTriggerConditionValueConverter.ConvertTo Methode

Definition

Konvertiert das angegebene Objekt in den angegebenen Typ. Löst immer eine Ausnahme aus.

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

Ein ITypeDescriptorContext, der einen Formatierungskontext bereitstellt.

culture
CultureInfo

Die CultureInfo, die als aktuelle Kultur verwendet werden sollen.

value
Object

Das zu konvertierende Objekt.

destinationType
Type

Der Typ, in den konvertiert werden soll.

Gibt zurück

Löst immer eine Ausnahme aus.

Ausnahmen

Ausgelöst in allen Fällen.

Gilt für: