Partager via


Add Method

Adds a TreeNode to the TreeNodeCollection.

Syntax

Visual Basic  Public   Sub 
Add( ByVal oNode As TreeNode )
C# public  void 
Add(TreeNode oNode );
Managed C++ public:  void 
Add(TreeNode oNode );
JScript public  function
Add(oNode : TreeNode );

Parameters

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