Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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: StringThe name of the WebTestRequestHeader to remove from this collection.
Return Value
Type: 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.