SetterTriggerConditionValueConverter.ConvertTo Methode

Definitie

Converteert het opgegeven object naar het opgegeven type. Genereert altijd een uitzondering.

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

Parameters

context
ITypeDescriptorContext

Een ITypeDescriptorContext die een indelingscontext biedt.

culture
CultureInfo

De CultureInfo te gebruiken als de huidige cultuur.

value
Object

Het object dat moet worden geconverteerd.

destinationType
Type

Het type dat moet worden geconverteerd naar.

Retouren

Genereert altijd een uitzondering.

Uitzonderingen

Gegooid in alle gevallen.

Van toepassing op