TempDataDictionary.Item[String] Właściwość

Definicja

Pobiera lub ustawia element przy użyciu określonego klucza.

C#
public object this[string key] { get; set; }
C#
public object? this[string key] { get; set; }

Parametry

key
String

Wartość właściwości

Implementuje

Dotyczy

Produkt Wersje
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0