Partager via


OnRemove Method

Called when a node is removed from the collection.

Syntax

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

Parameters

iIndex Required. The zero-based index at which the value can be found.
oObject Required. The value of the element to remove from index.

Return Value

No return value.

Applies To

TreeNodeCollection

See Also

Internet Explorer WebControls