Udostępnij za pośrednictwem


FormCollection.Item[] Właściwość

Definicja

Zapewnia dostęp do Form obiektów w kolekcji.

Przeciążenia

Item[Int32]

Pobiera lub ustawia element w kolekcji według jego indeksu liczbowego.

Item[String]

Pobiera lub ustawia element w kolekcji według nazwy skojarzonego Form obiektu.

Item[Int32]

Pobiera lub ustawia element w kolekcji według jego indeksu liczbowego.

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

Parametry

index
Int32

Lokalizacja Form kolekcji.

Wartość właściwości

Formularz w określonym indeksie.

Dotyczy

Item[String]

Pobiera lub ustawia element w kolekcji według nazwy skojarzonego Form obiektu.

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

Parametry

name
String

Nazwa elementu Form.

Wartość właściwości

Formularz o określonej nazwie.

Dotyczy