WebTestRequestHeaderCollection.Remove Method (String)

Removes the first occurrence of a header with the specified header name.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Function Remove ( _
    headerName As String _
) As Boolean
public bool Remove(
    string headerName
)
public:
bool Remove(
    String^ headerName
)
member Remove : 
        headerName:string -> bool
public function Remove(
    headerName : String
) : boolean

Parameters

Return Value

Type: Boolean
true if a WebTestRequestHeader was removed; otherwise, false.
Remarks

.NET Framework Security

See Also

Reference

WebTestRequestHeaderCollection Class

Remove Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace