FormCollection.Item[] 속성

정의

컬렉션 내의 Form 개체에 대한 액세스를 제공합니다.

오버로드

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

매개 변수

index
Int32

컬렉션 내에서 Form의 위치입니다.

속성 값

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

매개 변수

name
String

Form의 이름입니다.

속성 값

Form

지정된 이름의 폼입니다.

적용 대상