Share via


FormPostParameterCollection.Add Method (String, String)

Adds a FormPostParameter 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: 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.

Remarks

Duplicate elements can be added.

.NET Framework Security

See Also

Reference

FormPostParameterCollection Class

Add Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace