Share via


BaseEnumStringConverter<T>.ConvertFromStringToEnum Method

Converts the specified string to a corresponding enum value.

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

Syntax

'Declaration
Protected MustOverride Function ConvertFromStringToEnum ( _
    value As String _
) As T
protected abstract T ConvertFromStringToEnum(
    string value
)
protected:
virtual T ConvertFromStringToEnum(
    String^ value
) abstract
abstract ConvertFromStringToEnum : 
        value:string -> 'T 
protected abstract function ConvertFromStringToEnum(
    value : String
) : T

Parameters

  • value
    Type: String

    The string value to convert.

Return Value

Type: T
The enum that corresponds to the specified string value.

.NET Framework Security

See Also

Reference

BaseEnumStringConverter<T> Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace