Control.ControlCollection.Item[] 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
컬렉션의 A Control 를 나타냅니다.
오버로드
| Name | Description |
|---|---|
| Item[Int32] |
컬렉션의 Control 지정된 인덱싱된 위치를 나타냅니다. |
| Item[String] |
Control 컬렉션에 지정된 키가 있는 키를 나타냅니다. |
Item[Int32]
- Source:
- Control.ControlCollection.cs
- Source:
- Control.ControlCollection.cs
- Source:
- Control.ControlCollection.cs
- Source:
- Control.ControlCollection.cs
- Source:
- Control.ControlCollection.cs
컬렉션의 Control 지정된 인덱싱된 위치를 나타냅니다.
public:
virtual property System::Windows::Forms::Control ^ default[int] { System::Windows::Forms::Control ^ get(int index); };
public virtual System.Windows.Forms.Control this[int index] { get; }
member this.Item(int) : System.Windows.Forms.Control
Default Public Overridable ReadOnly Property Item(index As Integer) As Control
매개 변수
- index
- Int32
컨트롤 컬렉션에서 검색할 컨트롤의 인덱스입니다.
속성 값
Control 컨트롤 컬렉션 내의 지정된 인덱스 위치에 있는 위치입니다.
예외
값이 index 0보다 작거나 컬렉션의 컨트롤 수보다 크거나 같습니다.
설명
에서 Control.ControlCollection검색 Control 하려면 특정 인덱스 값을 사용하여 컬렉션 개체를 참조합니다. 인덱스 Control.ControlCollection 값은 0부터 시작하는 인덱스입니다.
추가 정보
적용 대상
Item[String]
- Source:
- Control.ControlCollection.cs
- Source:
- Control.ControlCollection.cs
- Source:
- Control.ControlCollection.cs
- Source:
- Control.ControlCollection.cs
- Source:
- Control.ControlCollection.cs
Control 컬렉션에 지정된 키가 있는 키를 나타냅니다.
public:
virtual property System::Windows::Forms::Control ^ default[System::String ^] { System::Windows::Forms::Control ^ get(System::String ^ key); };
public virtual System.Windows.Forms.Control this[string key] { get; }
public virtual System.Windows.Forms.Control? this[string? key] { get; }
member this.Item(string) : System.Windows.Forms.Control
Default Public Overridable ReadOnly Property Item(key As String) As Control
매개 변수
- key
- String
컨트롤 컬렉션에서 검색할 컨트롤의 이름입니다.
속성 값
Control 에 지정된 키가 있는 키입니다Control.ControlCollection.
설명
의 Control 속성은 Name 에 있는 키에 ControlControl.ControlCollection해당합니다.