TabControl.GetControl(Int32) 方法

定義

在指定位置取得 TabPage 控制權。

public:
 System::Windows::Forms::Control ^ GetControl(int index);
public System.Windows.Forms.Control GetControl(int index);
member this.GetControl : int -> System.Windows.Forms.Control
Public Function GetControl (index As Integer) As Control

參數

index
Int32

要取得的指數 TabPage

傳回

他們 TabPage 在指定的地點。

例外狀況

index小於 0 或大於 。TabCount

適用於