TempDataDictionary.Item[String] 属性

定义

获取或设置具有指定键的元素。

public:
 property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ key); void set(System::String ^ key, System::Object ^ value); };
public object this[string key] { get; set; }
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

属性值

实现

适用于