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

Definição

Converte o objeto determinado para o tipo deste conversor, usando o contexto especificado e as informações da cultura.Converts the given object to the type of this converter, using the specified context and culture information.

public:
 override System::Object ^ ConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value);
public override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value);
override this.ConvertFrom : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj -> obj
Public Overrides Function ConvertFrom (context As ITypeDescriptorContext, culture As CultureInfo, value As Object) As Object

Parâmetros

context
ITypeDescriptorContext

Um ITypeDescriptorContext que fornece um contexto de formato.An ITypeDescriptorContext that provides a format context.

culture
CultureInfo

O objeto CultureInfo a ser usado como a cultura atual.The CultureInfo to use as the current culture.

value
Object

O Object a ser convertido.The Object to convert.

Retornos

Object

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

Aplica-se a

Confira também