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

Definição

Converte o valor determinado no tipo desse conversor usando as informações de contexto e de cultura fornecidas.Converts the given value to the type of this converter using the provided 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.A 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 objeto a ser convertido.The object to convert.

Retornos

Object

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

Aplica-se a

Confira também