Share via


ITempData.Keep Method

Definition

Overloads

Name Description
Keep()

Makes all of the keys currently in TempData persist for another request.

Keep(String)

Makes the element with the key persist for another request.

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

Applies to