TreeNodeCollection Methods
The methods of the TreeNodeCollection class are listed here. For a complete list of TreeNodeCollection class members, see the TreeNodeCollection Members topic.
Public Methods
Add Supported by the .NET Compact Framework. | Overloaded. Adds a new tree node to the collection. |
AddRange Supported by the .NET Compact Framework. | Adds an array of previously created tree nodes to the collection. |
Clear Supported by the .NET Compact Framework. | Removes all tree nodes from the collection. |
Contains Supported by the .NET Compact Framework. | Determines whether the specified tree node is a member of the collection. |
CopyTo Supported by the .NET Compact Framework. | Copies the entire collection into an existing array at a specified location within the array. |
Equals (inherited from Object)
Supported by the .NET Compact Framework. | Overloaded. Determines whether two Object instances are equal. |
GetEnumerator Supported by the .NET Compact Framework. | Returns an enumerator that can be used to iterate through the tree node collection. |
GetHashCode (inherited from Object)
Supported by the .NET Compact Framework. | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. | Gets the Type of the current instance. |
IndexOf Supported by the .NET Compact Framework. | Returns the index of the specified tree node in the collection. |
Insert Supported by the .NET Compact Framework. | Inserts an existing tree node in the tree node collection at the specified location. |
Remove Supported by the .NET Compact Framework. | Removes the specified tree node from the tree node collection. |
RemoveAt Supported by the .NET Compact Framework. | Removes a tree node from the tree node collection at a specified index. |
ToString (inherited from Object)
Supported by the .NET Compact Framework. | Returns a String that represents the current Object. |
Protected Methods
Finalize (inherited from Object)
Supported by the .NET Compact Framework. | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |
