TempDataDictionary.Peek(String) Method

Definition

Returns an object that contains the element that is associated with the specified key, without marking the key for deletion.

public:
 virtual System::Object ^ Peek(System::String ^ key);
public object Peek (string key);
public object? Peek (string key);
abstract member Peek : string -> obj
override this.Peek : string -> obj
Public Function Peek (key As String) As Object

Parameters

key
String

The key of the element to return.

Returns

An object that contains the element that is associated with the specified key.

Implements

Applies to