TempDataDictionary.Item[String] Właściwość
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Pobiera lub ustawia element przy użyciu określonego klucza.
public:
property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ key); void set(System::String ^ key, System::Object ^ value); };
C#
public object this[string key] { get; set; }
C#
public object? this[string key] { get; set; }
member this.Item(string) : obj with get, set
Default Public Property Item(key As String) As Object
- key
- String
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 |