Taal

TransformConverter.ConvertTo Methode

Definitie

Converteert de opgegeven Transform waarde naar het opgegeven type met behulp van de opgegeven context- en cultuurgegevens.

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

De conversiecontext.

culture
CultureInfo

De cultuurinformatie die van toepassing is op de conversie.

value
Object

De Transform te converteren.

destinationType
Type

Het doeltype waarnaar het value object wordt geconverteerd.

Retouren

Een object dat het geconverteerde valueobject vertegenwoordigt.

Uitzonderingen

value is null of is geen Transform.

– of –

destinationType is geen geldig doeltype.

Van toepassing op