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.

QueryStringParameter Constructor (String^, String^, Boolean, Boolean)

 

Initializes a new instance of the QueryStringParameter class with values for the Name, Value, UrlEncode and UseToGroupResults properties.

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

public:
QueryStringParameter(
	String^ parameterName,
	String^ parameterValue,
	bool urlEncode,
	bool useToGroupResults
)

Parameters

parameterName
Type: System::String^

The parameter name to set.

parameterValue
Type: System::String^

The parameter value to set.

urlEncode
Type: System::Boolean

Indicates whether to URL encode the querystring parameter name and value.

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. The grouped results enable the user to have separate results captured for each value of the querystring parameter instead of a single set of results for the page.

Return to top
Show: