TreeNodeCollection

TreeNodeCollection

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



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net