Adds a FormPostParameter created from a parameter name and value and a value that indicates whether the form post parameter is URL encoded.
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, _
    urlEncode As Boolean _
)
public void Add(
    string parameterName,
    string parameterValue,
    bool urlEncode
)
public:
void Add(
    String^ parameterName, 
    String^ parameterValue, 
    bool urlEncode
)
member Add : 
        parameterName:string * 
        parameterValue:string * 
        urlEncode:bool -> unit
public function Add(
    parameterName : String, 
    parameterValue : String, 
    urlEncode : boolean
)
Parameters
- parameterName 
 Type: String- The name of the FormPostParameter to be created and then added to the collection. 
- parameterValue 
 Type: String- The value of the FormPostParameter to be created and then added to the collection. 
- urlEncode 
 Type: Boolean- true if the form post parameter is URL encoded; otherwise, false. 
Remarks
Duplicate elements can be added.
Example
.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.