TreeView.RootNodes Property

Definition

Gets or sets the collection of root nodes of the tree.

public:
 property IVector<TreeViewNode ^> ^ RootNodes { IVector<TreeViewNode ^> ^ get(); };
IVector<TreeViewNode> RootNodes();
public IList<TreeViewNode> RootNodes { get; }
var iVector = treeView.rootNodes;
Public ReadOnly Property RootNodes As IList(Of TreeViewNode)

Property Value

IVector<TreeViewNode>

IList<TreeViewNode>

The collection of root nodes of the tree.

Applies to