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: StringThe form post parameter name.
value
Type: StringThe form post parameter value.
urlEncode
Type: Booleantrue 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.