WebTestResponseCodeConverter.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 WebTestResponseCode
protected override WebTestResponseCode ConvertFromStringToEnum(
string value
)
protected:
virtual WebTestResponseCode ConvertFromStringToEnum(
String^ value
) override
abstract ConvertFromStringToEnum :
value:string -> WebTestResponseCode
override ConvertFromStringToEnum :
value:string -> WebTestResponseCode
protected override function ConvertFromStringToEnum(
value : String
) : WebTestResponseCode
Parameters
- value
Type: System.String
The string value to convert.
Return Value
Type: Microsoft.VisualStudio.TestTools.WebTesting.WebTestResponseCode
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.