Partager via


OutcomeConverter.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 Overrides Function ConvertFromStringToEnum ( _
    value As String _
) As Outcome
protected override Outcome ConvertFromStringToEnum(
    string value
)
protected:
virtual Outcome ConvertFromStringToEnum(
    String^ value
) override
abstract ConvertFromStringToEnum : 
        value:string -> Outcome  
override ConvertFromStringToEnum : 
        value:string -> Outcome
protected override function ConvertFromStringToEnum(
    value : String
) : Outcome

Parameters

  • value
    Type: String

    The string value to convert.

Return Value

Type: Microsoft.VisualStudio.TestTools.WebTesting.Outcome
The enum that corresponds to the specified string value.

.NET Framework Security

See Also

Reference

OutcomeConverter Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace