Share via


TempDataDictionary.Keep Method

Definition

Overloads

Keep()

Marks all keys in the dictionary for retention.

Keep(String)

Marks the specified key in the dictionary for retention.

Keep()

Source:
TempDataDictionary.cs
Source:
TempDataDictionary.cs
Source:
TempDataDictionary.cs

Marks all keys in the dictionary for retention.

public:
 virtual void Keep();
public void Keep ();
abstract member Keep : unit -> unit
override this.Keep : unit -> unit
Public Sub Keep ()

Implements

Applies to

Keep(String)

Source:
TempDataDictionary.cs
Source:
TempDataDictionary.cs
Source:
TempDataDictionary.cs

Marks the specified key in the dictionary for retention.

public:
 virtual void Keep(System::String ^ key);
public void Keep (string key);
abstract member Keep : string -> unit
override this.Keep : string -> unit
Public Sub Keep (key As String)

Parameters

key
String

The key to retain in the dictionary.

Implements

Applies to