Partager via


StringComparisonOperatorConverter.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 StringComparisonOperator
protected override StringComparisonOperator ConvertFromStringToEnum(
    string value
)
protected:
virtual StringComparisonOperator ConvertFromStringToEnum(
    String^ value
) override
abstract ConvertFromStringToEnum : 
        value:string -> StringComparisonOperator  
override ConvertFromStringToEnum : 
        value:string -> StringComparisonOperator
protected override function ConvertFromStringToEnum(
    value : String
) : StringComparisonOperator

Parameters

  • value
    Type: String

    The string value to convert.

Return Value

Type: Microsoft.VisualStudio.TestTools.WebTesting.StringComparisonOperator
The enum corresponding to the specified string value.

.NET Framework Security

See Also

Reference

StringComparisonOperatorConverter Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace