System.Windows.Forms (system.windows.forms.dll) | class |
This class represents a typed collection of
TreeNode objects. It is used by the
TreeView.Nodes and
TreeNode.Nodes properties.
public class TreeNodeCollection : IList, ICollection, IEnumerable {
// Public Instance Properties
public int Count{get; }
// implements ICollection
public bool IsReadOnly{get; }
// implements IList
public virtual TreeNode this{set; get; }
// Public Instance Methods
public virtual int Add(TreeNode node);
public virtual TreeNode Add(string text);
public virtual void AddRange(TreeNode[ ] nodes);
public virtual void Clear(); // implements IList
public bool Contains(TreeNode node);
public void CopyTo(Array dest, int index); // implements ICollection
public IEnumerator GetEnumerator(); // implements IEnumerable
public int IndexOf(TreeNode node);
public virtual void Insert(int index, TreeNode node);
public void Remove(TreeNode node);
public virtual void RemoveAt(int index); // implements IList
}
Returned By
TreeNode.Nodes, TreeView.Nodes
|