Partager via


OnInsert Method

Called when adding a node to 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 zero-based index at which to insert the value.
oObject Required. The new value of the element at index.

Return Value

No return value.

Applies To

BaseChildNodeCollection

See Also

Internet Explorer WebControls