Export (0) Print
Expand All

TreeNodeCollection Members

TreeNodeCollection overview

Public Properties

public propertyCount

Supported by the .NET Compact Framework.

Gets the total number of TreeNode objects in the collection.
public propertyIsReadOnly

Supported by the .NET Compact Framework.

Gets a value indicating whether the collection is read-only.
public propertyItem Indicates the TreeNode at the specified indexed location in the collection.

In C#, this property is the indexer for the TreeNodeCollection class.

Public Methods

public methodAdd

Supported by the .NET Compact Framework.

Overloaded. Adds a new tree node to the collection.
public methodAddRange

Supported by the .NET Compact Framework.

Adds an array of previously created tree nodes to the collection.
public methodClear

Supported by the .NET Compact Framework.

Removes all tree nodes from the collection.
public methodContains

Supported by the .NET Compact Framework.

Determines whether the specified tree node is a member of the collection.
public methodCopyTo

Supported by the .NET Compact Framework.

Copies the entire collection into an existing array at a specified location within the array.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator

Supported by the .NET Compact Framework.

Returns an enumerator that can be used to iterate through the tree node collection.
public methodGetHashCode (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.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodIndexOf

Supported by the .NET Compact Framework.

Returns the index of the specified tree node in the collection.
public methodInsert

Supported by the .NET Compact Framework.

Inserts an existing tree node in the tree node collection at the specified location.
public methodRemove

Supported by the .NET Compact Framework.

Removes the specified tree node from the tree node collection.
public methodRemoveAt

Supported by the .NET Compact Framework.

Removes a tree node from the tree node collection at a specified index.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (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.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

Explicit Interface Implementations

See Also

TreeNodeCollection Class | System.Windows.Forms Namespace

Show:
© 2015 Microsoft