TabControl.GetItems Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
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
An array of TabPage controls that belong to the TabControl.