Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- headerName
Type: System.String
The name of the WebTestRequestHeader to remove from this collection.
Return Value
Type: System.Boolean
true if a WebTestRequestHeader was removed; otherwise, false.
Remarks
.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.