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: System.String
The form post parameter name.
- value
Type: System.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
- 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.