Partager via


AddAt Method

Adds a TreeNode to the TreeNodeCollection at a specified index.

Syntax

Visual Basic  Public   Sub 
AddAt(
        ByVal iIndex As int,
        ByVal oNode As TreeNodeT
)
C# public  void 
AddAt(
        int iIndex,
        TreeNodeT oNode
);
Managed C++ public:  void 
AddAt(
        int iIndex,
        TreeNodeT oNode
);
JScript public  function
AddAt(
        iIndex : int,
        oNode : TreeNodeT
);

Parameters

iIndex Required. int. The index at which to add the TreeNode.
oNode Required. TreeNode object to add to the collection.

Return Value

No return value.

Applies To

TreeNodeCollection

See Also

Internet Explorer WebControls, About the TreeView WebControl