ResponseCookieCollection.Delete Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Delete(String) |
Sets an expired cookie |
Delete(String, CookieOptions) |
Sets an expired cookie |
Delete(String)
- Source:
- ResponseCookieCollection.cs
Sets an expired cookie
public void Delete (string key);
member this.Delete : string -> unit
Public Sub Delete (key As String)
Parameters
- key
- String
Applies to
Delete(String, CookieOptions)
- Source:
- ResponseCookieCollection.cs
Sets an expired cookie
public void Delete (string key, Microsoft.Owin.CookieOptions options);
member this.Delete : string * Microsoft.Owin.CookieOptions -> unit
Public Sub Delete (key As String, options As CookieOptions)
Parameters
- key
- String
- options
- CookieOptions