TreeNodeCollection.Add 方法
在集合中添加新的树节点。
重载列表
名称 | 说明 |
---|---|
TreeNodeCollection.Add (String) | 将具有指定标签文本的新树节点添加到当前树节点集合的末尾。 由 .NET Compact Framework 支持。 |
TreeNodeCollection.Add (TreeNode) | 将先前创建的树节点添加到树节点集合的末尾。 由 .NET Compact Framework 支持。 |
TreeNodeCollection.Add (String, String) | 创建具有指定键和文本的新树节点,并将其添加到集合中。 |
TreeNodeCollection.Add (String, String, Int32) | 创建具有指定键、文本和图像的树节点,并将其添加到集合中。 |
TreeNodeCollection.Add (String, String, String) | 创建具有指定键、文本和图像的树节点,并将其添加到集合中。 |
TreeNodeCollection.Add (String, String, Int32, Int32) | 创建具有指定键、文本和图像的树节点,并将其添加到集合中。 |
TreeNodeCollection.Add (String, String, String, String) | 创建具有指定键、文本和图像的树节点,并将其添加到集合中。 |
请参见
参考
TreeNodeCollection 类
TreeNodeCollection 成员
System.Windows.Forms 命名空间
Remove
RemoveAt