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: System.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.