Partager via


QueryStringParameter Constructor (String, String)

Initializes a new instance of the QueryStringParameter class with the specified name and value.

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

Syntax

'Declaration
Public Sub New ( _
    parameterName As String, _
    parameterValue As String _
)
public QueryStringParameter(
    string parameterName,
    string parameterValue
)
public:
QueryStringParameter(
    String^ parameterName, 
    String^ parameterValue
)
new : 
        parameterName:string * 
        parameterValue:string -> QueryStringParameter
public function QueryStringParameter(
    parameterName : String, 
    parameterValue : String
)

Parameters

  • parameterName
    Type: String

    The parameter name to set.

  • parameterValue
    Type: String

    The parameter value to set.

Remarks

UseToGroupResults is set to false by this constructor.

.NET Framework Security

See Also

Reference

QueryStringParameter Class

QueryStringParameter Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace