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: System.String
The form post parameter name.
- value
Type: System.String
The form post parameter value.
- urlEncode
Type: System.Boolean
true if this FormPostParameter is URL encoded; otherwise, false.
.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.