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 object Peek (string key);
member 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.

Applies to