TabControl.GetItems TabControl.GetItems TabControl.GetItems TabControl.GetItems Method

Definition

Gets the TabPage controls that belong to the TabControl.

Overloads

GetItems(Type) GetItems(Type) GetItems(Type) GetItems(Type)

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

GetItems() GetItems() GetItems() GetItems()

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

GetItems(Type) GetItems(Type) GetItems(Type) 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 Type Type 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

GetItems() GetItems() GetItems() 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