Shunde.NET Framework Class Library

TreeNode Methods

The methods of the TreeNode class are listed below. For a complete list of TreeNode class members, see the TreeNode Members topic.

Public Static Methods

ConvertToFlatArrayOverloaded. Converts a heirachacle Array of Categories into a flat array of Categories
FindTreeNodeFinds the TreeNode with the TreeNode id catId from the tree of categories
GetTreeNodesAsForestOverloaded. Gets all the tree nodes in the database
SearchSearches for a TreeNode

Protected Static Methods

ConvertToForestConverts an array of TreeNode objects into a forest of trees

Public Instance Methods

CompareToCompares the Name of this string to another TreeNode
Equals (inherited from DBObject)Specifies that two DBObjects are equal
Exists (inherited from DBObject)Checks to see if this object exists in the database
FindDescendantFinds the TreeNode from the Children, or descendants of this TreeNode
GetHashCode (inherited from DBObject)Gets the hash key for this object
GetType (inherited from Object)Gets the Type of the current instance.
Populate (inherited from DBObject)Populates this object from the database
PopulateAncestorsPopulates the ancestors of this tree node
PopulateBinaryData (inherited from DBObject)Populates the data of all the BinaryData objects in this class
PopulateObjects (inherited from DBObject)Populates the other DB objects in this class
ResetId (inherited from DBObject) Resets the Id of the object so that when saved again, a new object will be created in the database.
SaveSaves this object to the database
ToString (inherited from DBObject)Gets a String representation of this object

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

TreeNode Class | Shunde.Common Namespace