Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FormPostParameterCollection::Add Method (String^, String^, Boolean)

 

Adds a FormPostParameter created from a parameter name and value and a value that indicates whether the form post parameter is URL encoded.

Namespace:   Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

public:
void Add(
	String^ parameterName,
	String^ parameterValue,
	bool urlEncode
)

Parameters

parameterName
Type: System::String^

The name of the FormPostParameter to be created and then added to the collection.

parameterValue
Type: System::String^

The value of the FormPostParameter to be created and then added to the collection.

urlEncode
Type: System::Boolean

true if the form post parameter is URL encoded; otherwise, false.

Duplicate elements can be added.

Example

Return to top
Show: