Sdílet prostřednictvím


WebTestResponseCodeConverter.ConvertFromStringToEnum – metoda

Převede zadaný řetězec odpovídající hodnota výčtu.

Obor názvů:  Microsoft.VisualStudio.TestTools.WebTesting
Sestavení:  Microsoft.VisualStudio.QualityTools.WebTestFramework (v Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntaxe

'Deklarace
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

Parametry

  • value
    Typ: String

    Hodnota řetězce převést.

Vrácená hodnota

Typ: Microsoft.VisualStudio.TestTools.WebTesting.WebTestResponseCode
Výčet, který odpovídá hodnotě zadaného řetězce.

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

WebTestResponseCodeConverter Třída

Microsoft.VisualStudio.TestTools.WebTesting – obor názvů