AxHost.StateConverter.ConvertTo Methode

Definitie

Dit lid overschrijft ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type).

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

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

A CultureInfo. Als null deze wordt doorgegeven, wordt ervan uitgegaan dat de huidige cultuur wordt aangenomen.

value
Object

De Object te converteren.

destinationType
Type

De Type parameter voor het converteren van de waarde naar.

Retouren

Een Object die de geconverteerde waarde vertegenwoordigt.

Uitzonderingen

destinationType is null.

Van toepassing op