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.

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

 

Adds a QueryStringParameter created from a parameter name and value.

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,
	bool useToGroupResults
)

Parameters

parameterName
Type: System::String^

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

parameterValue
Type: System::String^

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

urlEncode
Type: System::Boolean

true if the query string parameter is URL encoded; otherwise, false.

useToGroupResults
Type: System::Boolean

Indicates whether to use this parameter to group results. The parameter is used if it changes the content of the page. This parameter enables the user to have separate results captured for each value of the querystring parameter instead of a single set of results for the page.

Duplicate elements can be added.

Return to top
Show: