QueryStringParameter Class
Represents an HTTP querystring parameter.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.WebTesting.Parameter
Microsoft.VisualStudio.TestTools.WebTesting.QueryStringParameter
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class QueryStringParameter _
Inherits Parameter
[SerializableAttribute]
public class QueryStringParameter : Parameter
[SerializableAttribute]
public ref class QueryStringParameter : public Parameter
[<SerializableAttribute>]
type QueryStringParameter =
class
inherit Parameter
end
public class QueryStringParameter extends Parameter
The QueryStringParameter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
QueryStringParameter() | Initializes a new instance of the QueryStringParameter class with default value for UrlEncode. | |
QueryStringParameter(String, String) | Initializes a new instance of the QueryStringParameter class with the specified name and value. | |
QueryStringParameter(String, String, Boolean, Boolean) | Initializes a new instance of the QueryStringParameter class with values for the Name, Value, UrlEncode and UseToGroupResults properties. |
Top
Properties
Name | Description | |
---|---|---|
Name | Gets or sets the parameter name. (Inherited from Parameter.) | |
UrlEncode | Gets or sets a value that indicates whether the Name and Value will be URL encoded. (Inherited from Parameter.) | |
UseToGroupResults | Gets or sets a value that indicates whether this parameter should be used to uniquely identify a request. | |
Value | Gets or sets the string value of the parameter. (Inherited from Parameter.) |
Top
Methods
Name | Description | |
---|---|---|
Clone | Performs a MemberwiseClone clone of this QueryStringParameter instance. (Overrides Parameter.Clone().) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
This class is serializable.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TestTools.WebTesting Namespace