Share via


WebTestRequestHeaderCollection.Add Method (String, String)

Adds a WebTestRequestHeaderCollection 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 ( _
    name As String, _
    value As String _
)
public void Add(
    string name,
    string value
)
public:
void Add(
    String^ name, 
    String^ value
)
member Add : 
        name:string * 
        value:string -> unit 
public function Add(
    name : String, 
    value : String
)

Parameters

.NET Framework Security

See Also

Reference

WebTestRequestHeaderCollection Class

Add Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace