ColumnHeaderConverter.ConvertTo Methode

Definitie

Converteert het opgegeven object 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);
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

Een CultureInfo die informatie vertegenwoordigt over een cultuur, zoals taal- en agendasysteem. Kan zijn null.

value
Object

De Object te converteren.

destinationType
Type

De Type te converteren naar.

Retouren

Het Object resultaat van de conversie.

Uitzonderingen

De conversie kan niet worden uitgevoerd.

Van toepassing op