Share via


QueryStringParameterCollection.Add Method (String, String)

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)

Syntax

'Declaration
Public Sub Add ( _
    parameterName As String, _
    parameterValue As String _
)
public void Add(
    string parameterName,
    string parameterValue
)
public:
void Add(
    String^ parameterName, 
    String^ parameterValue
)
member Add : 
        parameterName:string * 
        parameterValue:string -> unit 
public function Add(
    parameterName : String, 
    parameterValue : String
)

Parameters

Remarks

Duplicate elements can be added.

.NET Framework Security

See Also

Reference

QueryStringParameterCollection Class

Add Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace