FormCollection.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides access to the Form objects within the collection.
Overloads
Item[Int32] |
Gets or sets an element in the collection by its numeric index. |
Item[String] |
Gets or sets an element in the collection by the name of the associated Form object. |
Item[Int32]
- Source:
- FormCollection.cs
- Source:
- FormCollection.cs
- Source:
- FormCollection.cs
Gets or sets an element in the collection by its numeric index.
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
Parameters
Property Value
The form at the specified index.
Applies to
Item[String]
- Source:
- FormCollection.cs
- Source:
- FormCollection.cs
- Source:
- FormCollection.cs
Gets or sets an element in the collection by the name of the associated Form object.
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
Parameters
Property Value
The form with the specified name.