Modifier

Partager via


TabControl.GetItems Method

Definition

Gets the TabPage controls that belong to the TabControl.

Overloads

GetItems(Type)

Copies the TabPage controls in the TabControl to an array of the specified type.

GetItems()

Gets an array of TabPage controls that belong to the TabControl control.

GetItems(Type)

Copies the TabPage controls in the TabControl to an array of the specified type.

protected:
 virtual cli::array <System::Object ^> ^ GetItems(Type ^ baseType);
protected virtual object[] GetItems (Type baseType);
abstract member GetItems : Type -> obj[]
override this.GetItems : Type -> obj[]
Protected Overridable Function GetItems (baseType As Type) As Object()

Parameters

baseType
Type

The Type of the array to create.

Returns

Object[]

The TabPage controls that belong to the TabControl as an array of the specified type.

Exceptions

The type TabPage cannot be converted to baseType.

Applies to

GetItems()

Gets an array of TabPage controls that belong to the TabControl control.

protected:
 virtual cli::array <System::Object ^> ^ GetItems();
protected virtual object[] GetItems ();
abstract member GetItems : unit -> obj[]
override this.GetItems : unit -> obj[]
Protected Overridable Function GetItems () As Object()

Returns

Object[]

An array of TabPage controls that belong to the TabControl.

Applies to