Back to product page

RemoveAll method (HttpHeaders)


Removes all headers from the collection.

Syntax

  • Basic
object.RemoveAll
The RemoveAll(object) syntax has these parts:
objectAn expression evaluating to an object of type HttpHeaders.

Remarks

This method will remove all headers from the collection. Can be used both for Request.Headers, and Response.Headers.

Platforms

Windows