This version of Unity is unsupported.

TreeViewItem Constructor

public TreeViewItem(int id);
public TreeViewItem(int id, int depth);
public TreeViewItem(int id, int depth, string displayName);

Parameters

id Unique ID to identify this TreeViewItem with among all TreeViewItems of the TreeView. See Also id.
depth Depth of this TreeViewItem. See Also depth.
displayName Rendered name of this TreeViewItem. See Also displayName.

Description

TreeViewItem constructor.