System::Net::WebHeaderCollection::Remove method

WebHeaderCollection::Remove(HttpRequestHeader) method

Removes the specified request’s header.

void System::Net::WebHeaderCollection::Remove(HttpRequestHeader header)
ParameterTypeDescription
headerHttpRequestHeaderThe header to remove.

See Also

WebHeaderCollection::Remove(HttpResponseHeader) method

Removes the specified response’s header.

void System::Net::WebHeaderCollection::Remove(HttpResponseHeader header)
ParameterTypeDescription
headerHttpResponseHeaderThe header to remove.

See Also

WebHeaderCollection::Remove(String) method

Removes the header by the specified header name.

void System::Net::WebHeaderCollection::Remove(String name)
ParameterTypeDescription
nameStringThe header name.

See Also