Share via


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

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