Freigeben über


TabControl.GetControl-Methode

Diese Methode unterstützt die .NET Framework-Infrastruktur und ist nicht für die direkte Verwendung in Code bestimmt.

Ruft das TabPage-Steuerelement an der angegebenen Position ab.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

Syntax

'Declaration
Public Function GetControl ( _
    index As Integer _
) As Control
'Usage
Dim instance As TabControl
Dim index As Integer
Dim returnValue As Control

returnValue = instance.GetControl(index)
public Control GetControl (
    int index
)
public:
Control^ GetControl (
    int index
)
public Control GetControl (
    int index
)
public function GetControl (
    index : int
) : Control

Parameter

  • index
    Der Index der abzurufenden TabPage.

Rückgabewert

Die TabPage an der angegebenen Position.

Ausnahmen

Ausnahmetyp Bedingung

ArgumentOutOfRangeException

index ist kleiner als 0 (null) oder größer als TabCount.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

TabControl-Klasse
TabControl-Member
System.Windows.Forms-Namespace