Delen via


ITempDataDictionary.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:
 System::Object ^ Peek(System::String ^ key);
public object Peek (string key);
public object? Peek (string key);
abstract member 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