C-DEngine 5.105

WebHeaderCollection..::..Remove Method (String)

Removes the specified header from the collection.

Namespace:  WebSocketSharp.Net
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public void Remove(
	string name
)
Public Sub Remove ( _
	name As String _
)
public:
void Remove(
	String^ name
)

Parameters

name
Type: String
A String that represents the name of the header to remove.

Exceptions


ExceptionCondition
ArgumentNullExceptionname is nullNothingnullptra null reference (Nothing in Visual Basic) or empty.
ArgumentException

name contains invalid characters.

-or-

name is a restricted header name.

InvalidOperationException The current WebHeaderCollection instance doesn't allow the header name.