Bewerken

Delen via


TabControl.GetControl(Int32) Method

Definition

Gets the TabPage control at the specified location.

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

Parameters

index
Int32

The index of the TabPage to get.

Returns

The TabPage at the specified location.

Exceptions

index is less than 0 or greater than the TabCount.

Applies to