TabControl.GetItems Method (Type)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

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
ArrayTypeMismatchException

The type TabPage cannot be converted to baseType.

.NET Framework
Available since 1.1
Return to top
Show: