Compartir a través de


CultureInfoIetfLanguageTagConverter.ConvertTo Método

Definición

Convierte un objeto CultureInfo en un tipo de objeto dado.

public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, System::Globalization::CultureInfo ^ cultureInfo, System::Object ^ value, Type ^ destinationType);
[System.Security.SecurityCritical]
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, System.Globalization.CultureInfo cultureInfo, object value, Type destinationType);
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, System.Globalization.CultureInfo cultureInfo, object value, Type destinationType);
[<System.Security.SecurityCritical>]
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
Public Overrides Function ConvertTo (typeDescriptorContext As ITypeDescriptorContext, cultureInfo As CultureInfo, value As Object, destinationType As Type) As Object

Parámetros

typeDescriptorContext
ITypeDescriptorContext

Valor de ITypeDescriptorContext.

cultureInfo
CultureInfo

Objeto CultureInfo cuyo valor se respeta durante la conversión.

value
Object

Objeto que representa la CultureInfo que se va a convertir.

destinationType
Type

Type del objeto convertido devuelto.

Devoluciones

Object

Un objeto CultureInfo convertido en un tipo de objeto especificado.

Atributos

Se aplica a