FormPostParameter Constructor (String, String)

Initializes a new instance of the FormPostParameter object with a name/value pair.

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 _
)
public FormPostParameter(
    string name,
    string value
)
public:
FormPostParameter(
    String^ name, 
    String^ value
)
new : 
        name:string * 
        value:string -> FormPostParameter
public function FormPostParameter(
    name : String, 
    value : String
)

Parameters

  • name
    Type: String

    The form post parameter name.

  • value
    Type: String

    The form post parameter value.

Remarks

This constructor sets UrlEncode to true. The Name and Value properties are initialized with empty strings.

.NET Framework Security

See Also

Reference

FormPostParameter Class

FormPostParameter Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace