Remove Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Removes the specified header from the collection.
Namespace: System.Net
Assembly: System.Http (in System.Http.dll)
Syntax
'Declaration
Public Sub Remove ( _
name As String _
)
public void Remove(
string name
)
public:
void Remove(
String^ name
)
member Remove :
name:string -> unit
public function Remove(
name : String
)
Parameters
- name
Type: System. . :: . .String
The name of the header to remove from the collection.
Remarks
Remove deletes the specified header from the collection. If the specified header does not exist, the method returns.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.