BaseNumberConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) BaseNumberConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) BaseNumberConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) BaseNumberConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Method

Definición

Convierte el objeto especificado en otro tipo.Converts the specified object to another type.

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

culture
CultureInfo CultureInfo CultureInfo CultureInfo

CultureInfo que especifica la referencia cultural para representar el número.A CultureInfo that specifies the culture to represent the number.

value
Object Object Object Object

Objeto que se va a convertir.The object to convert.

destinationType
Type Type Type Type

Tipo en el que se va a convertir el objeto.The type to convert the object to.

Devoluciones

Object que representa el valor convertido.An Object that represents the converted value.

Excepciones

No se puede realizar la conversión.The conversion cannot be performed.

Se aplica a