共用方式為


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

屬性值

實作

適用於