TabControl::GetItems Method (Type^)

 

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 array<Object^>^ GetItems(
	Type^ baseType
)

Parameters

baseType
Type: System::Type^

The Type of the array to create.

Return Value

Type: array<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: