ITempData.Keep 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
| Name | Description |
|---|---|
| Keep() |
Makes all of the keys currently in TempData persist for another request. |
| Keep(String) |
Makes the element with the |
Keep()
Makes all of the keys currently in TempData persist for another request.
public void Keep();
abstract member Keep : unit -> unit
Public Sub Keep ()
Applies to
Keep(String)
Makes the element with the key persist for another request.
public void Keep(string key);
abstract member Keep : string -> unit
Public Sub Keep (key As String)
Parameters
- key
- String