Export (0) Print
Expand All

TreeNodeCollection Members

Represents a collection of TreeNode objects in the TreeView control. This class cannot be inherited.

The TreeNodeCollection type exposes the following members.

  NameDescription
Public method TreeNodeCollection Overloaded. Initializes a new instance of the TreeNodeCollection class.
Top

  NameDescription
Public method Add Appends the specified TreeNode object to the end of the TreeNodeCollection object.
Public method AddAt Inserts the specified TreeNode object in a TreeNodeCollection object at the specified index location.
Public method Clear Empties the TreeNodeCollection object.
Public method Contains Determines whether the specified TreeNode object is in the collection.
Public method CopyTo Copies all the items from the TreeNodeCollection object to a compatible one-dimensional array of TreeNode objects, starting at the specified index in the target array.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that can be used to iterate through a TreeNodeCollection object.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method IndexOf Determines the index of the specified TreeNode object.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Removes the specified TreeNode object from the TreeNodeCollection object.
Public method RemoveAt Removes the TreeNode object at the specified index location from the TreeNodeCollection object.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
Public property Count Gets the number of items in the TreeNodeCollection object.
Public property IsSynchronized Gets a value indicating whether access to the TreeNodeCollection is synchronized (thread safe).
Public property Item Gets the TreeNode object at the specified index in the TreeNodeCollection object.
Public property SyncRoot Gets an object that can be used to synchronize access to the TreeNodeCollection object.
Top

  NameDescription
Explicit interface implemetation Private method ICollection.CopyTo Infrastructure. Copies all the items from the TreeNodeCollection object to a compatible one-dimensional System.Array, starting at the specified index in the target array.
Explicit interface implemetation Private property IStateManager.IsTrackingViewState Infrastructure. Gets a value indicating whether the TreeNodeCollection object is saving changes to its view state.
Explicit interface implemetation Private method IStateManager.LoadViewState Infrastructure. Loads the TreeNodeCollection object's previously saved view state.
Explicit interface implemetation Private method IStateManager.SaveViewState Infrastructure. Saves the changes to view state to a System.Object.
Explicit interface implemetation Private method IStateManager.TrackViewState Infrastructure. Instructs the TreeNodeCollection to track changes to its view state.
Top

Community Additions

ADD
Show:
© 2014 Microsoft