다음을 통해 공유


TabControl.TabPageCollection.Item[] 속성

정의

컬렉션의 탭 페이지를 가져오거나 설정합니다.

오버로드

Name Description
Item[Int32]

컬렉션의 값을 TabPage 가져오거나 설정합니다.

Item[String]

컬렉션에서 지정된 키가 있는 탭 페이지를 가져옵니다.

Item[Int32]

Source:
TabControl.TabPageCollection.cs
Source:
TabControl.TabPageCollection.cs
Source:
TabControl.TabPageCollection.cs
Source:
TabControl.TabPageCollection.cs
Source:
TabControl.TabPageCollection.cs

컬렉션의 값을 TabPage 가져오거나 설정합니다.

public:
 virtual property System::Windows::Forms::TabPage ^ default[int] { System::Windows::Forms::TabPage ^ get(int index); void set(int index, System::Windows::Forms::TabPage ^ value); };
public virtual System.Windows.Forms.TabPage this[int index] { get; set; }
member this.Item(int) : System.Windows.Forms.TabPage with get, set
Default Public Overridable Property Item(index As Integer) As TabPage

매개 변수

index
Int32

가져오기 또는 설정할 탭 페이지의 인덱스(0부터 시작)입니다.

속성 값

TabPage 지정된 인덱스입니다.

예외

index 가 0보다 작거나 사용 가능한 가장 높은 인덱스보다 큽니다.

추가 정보

적용 대상

Item[String]

Source:
TabControl.TabPageCollection.cs
Source:
TabControl.TabPageCollection.cs
Source:
TabControl.TabPageCollection.cs
Source:
TabControl.TabPageCollection.cs
Source:
TabControl.TabPageCollection.cs

컬렉션에서 지정된 키가 있는 탭 페이지를 가져옵니다.

public:
 virtual property System::Windows::Forms::TabPage ^ default[System::String ^] { System::Windows::Forms::TabPage ^ get(System::String ^ key); };
public virtual System.Windows.Forms.TabPage this[string key] { get; }
public virtual System.Windows.Forms.TabPage? this[string? key] { get; }
member this.Item(string) : System.Windows.Forms.TabPage
Default Public Overridable ReadOnly Property Item(key As String) As TabPage

매개 변수

key
String

검색할 탭 페이지의 이름입니다.

속성 값

TabPage 지정된 키가 있는 키입니다.

설명

속성은 Name 에 있는 키에 TabPageTabControl.TabPageCollection해당합니다.

키 비교는 대/소문자를 구분하지 않습니다. 매개 변수 또는 key 빈 문자열 Item[]nullnull 경우 .

적용 대상