TabControl.GetItems Method (Type)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected virtual object[] GetItems(
	Type baseType


Type: System.Type

The Type of the array to create.

Return Value

Type: System.Object[]

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

Exception Condition

The type TabPage cannot be converted to baseType.

.NET Framework
Available since 1.1
Return to top