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
parameterName
Type: StringThe name of the QueryStringParameter to be created and then added to the collection.
parameterValue
Type: StringThe value of the QueryStringParameter to be created and then added to the collection.
Remarks
Duplicate elements can be added.
.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.