語言

ControlDesignerState.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; }
member this.Item(string) : obj with get, set
Default Public Property Item(key As String) As Object

參數

key
String

要設定或從狀態集合中擷取的項目名稱。

屬性值

由 key所識別的物件。

適用於

另請參閱