TempDataDictionary.Peek(String) 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.
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.