VersionConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Método
Definição
Converte o valor especificado no tipo de destino especificado usando o contexto e os argumentos especificados.Converts the specified value to the specified destination type using the specified context and arguments.
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
Um ITypeDescriptorContext que fornece um contexto de formato.An ITypeDescriptorContext that provides a format context.
- culture
- CultureInfo
A cultura que fornece informações de formatação para a conversão.The culture that supplies formatting information for the conversion.
- value
- Object
O valor a ser convertido.The value to be converted.
- destinationType
- Type
O tipo para o qual o parâmetro value será convertido.The type to convert the value parameter to.
Retornos
Um objeto que representa o valor convertido.An object that represents the converted value.