Back to product page

RemoveAll method (HttpCookies)


Removes all cookies from the collection.

Type

None

Syntax

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

Remarks

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

Platforms

Windows