TreeNode.TreeNode

Overview | Methods | This Package | All Packages

TreeNode.TreeNode

Creates a TreeNode control.

Syntax

public TreeNode()

public TreeNode( IDataStream stream )

public TreeNode( String text )

public TreeNode( String text, TreeNode[] children )

public TreeNode( String text, int imageIndex, int selectedImageIndex )

public TreeNode( String text, int imageIndex, int selectedImageIndex, TreeNode[] children )

Parameters

stream

The IDataStream object to read from to create the node.

text

The label text for the node.

children

An array of TreeNode objects that represent the child nodes to add to the node.

imageIndex

The zero-based index within an ImageList object of the image that appears by default next to the node.

selectedImageIndex

The zero-based index within an ImageList object of the image that appears next to the node when it is selected.