Partager via


OnSet Method

Called when a node's properties are being set.

Syntax

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

Parameters

iIndex Required. The zero-based index at which oldValue can be found.
oldValue Required. The value to replace with newValue.
newValue Required. The new value of the element at iIndex.

Return Value

No return value.

Applies To

BaseChildNodeCollection, TabItemCollection, ToolbarCheckButtonCollection, ToolbarItemCollection, TreeNodeCollection, TreeNodeTypeCollection

See Also

Internet Explorer WebControls, About the TabStrip WebControl, About the Toolbar WebControl, About the TreeView WebControl