FormCollection.Item[] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供對 Form 收藏品中的物件的存取權限。
多載
| 名稱 | Description |
|---|---|
| Item[Int32] |
透過數值索引取得或設定集合中的元素。 |
| Item[String] |
透過相關 Form 物件名稱取得或設定集合中的元素。 |
Item[Int32]
透過數值索引取得或設定集合中的元素。
public:
virtual property System::Windows::Forms::Form ^ default[int] { System::Windows::Forms::Form ^ get(int index); };
public virtual System.Windows.Forms.Form this[int index] { get; }
public virtual System.Windows.Forms.Form? this[int index] { get; }
member this.Item(int) : System.Windows.Forms.Form
Default Public Overridable ReadOnly Property Item(index As Integer) As Form
參數
屬性值
在指定索引中的形式。
適用於
Item[String]
透過相關 Form 物件名稱取得或設定集合中的元素。
public:
virtual property System::Windows::Forms::Form ^ default[System::String ^] { System::Windows::Forms::Form ^ get(System::String ^ name); };
public virtual System.Windows.Forms.Form this[string name] { get; }
public virtual System.Windows.Forms.Form? this[string? name] { get; }
member this.Item(string) : System.Windows.Forms.Form
Default Public Overridable ReadOnly Property Item(name As String) As Form
參數
屬性值
那份表格上有指定的名稱。