Compartir a través de


LocalizedEnumConverter.ConvertTo Método

Definición

Convierte el enumerador localizado en un objeto.

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

Parámetros

context
ITypeDescriptorContext

Contexto.

culture
CultureInfo

La referencia cultural.

value
Object

Valor.

destinationType
Type

Tipo de destino.

Devoluciones

El objeto convertido.

Se aplica a