CultureInfoIetfLanguageTagConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) Método

Definición

Convierte un tipo de objeto dado en un objeto CultureInfo.Converts a given object type to a CultureInfo object.

public:
 override System::Object ^ ConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, System::Globalization::CultureInfo ^ cultureInfo, System::Object ^ source);
public override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, System.Globalization.CultureInfo cultureInfo, object source);
override this.ConvertFrom : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj -> obj

Parámetros

typeDescriptorContext
ITypeDescriptorContext

Valor de ITypeDescriptorContext.The ITypeDescriptorContext value.

cultureInfo
CultureInfo

Objeto CultureInfo cuyo valor se respeta durante la conversión.The CultureInfo object whose value is respected during conversion.

source
Object

Type que se va a convertir.The Type being converted.

Devoluciones

Objeto CultureInfo.A CultureInfo object.

Se aplica a