Partager via


FormPostParameter Constructor (String, String, Boolean)

Initializes a new instance of the FormPostParameter object with a form post parameter name/value pair and a Boolean value that indicates whether the FormPost Parameter is URL encoded.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    value As String, _
    urlEncode As Boolean _
)
public FormPostParameter(
    string name,
    string value,
    bool urlEncode
)
public:
FormPostParameter(
    String^ name, 
    String^ value, 
    bool urlEncode
)
new : 
        name:string * 
        value:string * 
        urlEncode:bool -> FormPostParameter
public function FormPostParameter(
    name : String, 
    value : String, 
    urlEncode : boolean
)

Parameters

  • name
    Type: String

    The form post parameter name.

  • value
    Type: String

    The form post parameter value.

  • urlEncode
    Type: Boolean

    true if this FormPostParameter is URL encoded; otherwise, false.

.NET Framework Security

See Also

Reference

FormPostParameter Class

FormPostParameter Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace