Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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: StringThe name of the FormPostParameter to be created and then added to the collection.
parameterValue
Type: StringThe value of the FormPostParameter to be created and then added to the collection.
urlEncode
Type: Booleantrue 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.