Parameter Class
Represents an HTTP parameter base class.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TestTools.WebTesting.Parameter
Microsoft.VisualStudio.TestTools.WebTesting.FormPostParameter
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 MustInherit Class Parameter _
Implements ICloneable
[SerializableAttribute]
public abstract class Parameter : ICloneable
[SerializableAttribute]
public ref class Parameter abstract : ICloneable
[<AbstractClass>]
[<SerializableAttribute>]
type Parameter =
class
interface ICloneable
end
public abstract class Parameter implements ICloneable
The Parameter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Parameter | This class is abstract and cannot be instantiated. |
Top
Properties
Name | Description | |
---|---|---|
Name | Gets or sets the parameter name. | |
UrlEncode | Gets or sets a value that indicates whether the Name and Value will be URL encoded. | |
Value | Gets or sets the string value of the parameter. |
Top
Methods
Name | Description | |
---|---|---|
Clone | When overridden in a derived class, creates a cloned copy of the Parameter instance. | |
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 a hash function for a particular type. (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.
Notes to Inheritors
When you inherit from Parameter, you must override Clone.
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