Partilhar via


Método BaseEnumStringConverter<T>.ConvertFrom (ITypeDescriptorContext, CultureInfo, Object)

Converte o objeto especificado para o tipo desse conversor, usando as informações de cultura e o contexto especificado.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (em Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Sintaxe

'Declaração
Public Overrides Function ConvertFrom ( _
    context As ITypeDescriptorContext, _
    culture As CultureInfo, _
    value As Object _
) As Object
public override Object ConvertFrom(
    ITypeDescriptorContext context,
    CultureInfo culture,
    Object value
)
public:
virtual Object^ ConvertFrom(
    ITypeDescriptorContext^ context, 
    CultureInfo^ culture, 
    Object^ value
) override
abstract ConvertFrom : 
        context:ITypeDescriptorContext * 
        culture:CultureInfo * 
        value:Object -> Object 
override ConvertFrom : 
        context:ITypeDescriptorContext * 
        culture:CultureInfo * 
        value:Object -> Object 
public override function ConvertFrom(
    context : ITypeDescriptorContext, 
    culture : CultureInfo, 
    value : Object
) : Object

Parâmetros

Valor de retorno

Tipo: System.Object
Um Object que representa o valor convertido.

Segurança do .NET Framework

Consulte também

Referência

BaseEnumStringConverter<T> Classe

Sobrecargas ConvertFrom

Namespace Microsoft.VisualStudio.TestTools.WebTesting