Share via


OnInsert Method

Tracks the number of Tabs after a new Tab is inserted into the collection.

Syntax

Visual Basic Overrides  Protected   Sub 
OnInsert(
        ByVal iIndex As int,
        ByVal oObject As object
)
C# protected   override void 
OnInsert(
        int iIndex,
        object oObject
);
Managed C++ protected:  void 
OnInsert(
        int iIndex,
        object oObject
);
JScript protected   override function
OnInsert(
        iIndex : int,
        oObject : object
);

Parameters

iIndex Required. The index of the item to be inserted.
oObject Required. The item being inserted.

Return Value

No return value.

Applies To

TabItemCollection

See Also

Internet Explorer WebControls, About the TabStrip WebControl