FormCollection.Item Property (String)

 

Gets or sets an element in the collection by the name of the associated Form object.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public virtual Form this[
	string name
] { get; }

Parameters

name
Type: System.String

The name of the Form.

Property Value

Type: System.Windows.Forms.Form

The form with the specified name.

.NET Framework
Available since 2.0
Return to top
Show: