ViewDataDictionary.Item[String] 属性

定义

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

public:
 property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ index); void set(System::String ^ index, System::Object ^ value); };
public object this[string index] { get; set; }
public object? this[string index] { get; set; }
member this.Item(string) : obj with get, set
Default Public Property Item(index As String) As Object

参数

index
String

属性值

实现

适用于