Shunde.NET Framework Class Library

TreeNode Members

TreeNode overview

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 Properties

ChildrenThe Children of this TreeNode
DisplayOrder (inherited from DBObject)The relative (to other DBObjects) display order that this DBObject should appear in
FriendlyName Gets the friendly name of the object
FullNameReturns the Name of this TreeNode, with all ancestors names
Id (inherited from DBObject)The id of the object
IsDeleted (inherited from DBObject)Specifies that this object is deleted
IsHiddenSpecifies that this TreeNode is hidden
IsLeafReturns true if this TreeNode is a leaf node (ie. has no Children)
IsShadedSpecifies whether a TreeNode is visible, or shaded
IsVisibleReturns true if this TreeNode, and none of its parents, are hidden
LastUpdate (inherited from DBObject)The last time that this object was updated.
LastUpdatedBy (inherited from DBObject)The person or user who last updated this object
NameThe Name of the TreeNode
NotesNotes pertaining to this TreeNode
ParentThe Parent of this TreeNode
RootNodeReturns the root node of the tree that this TreeNode belongs in

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 Constructors

TreeNode Constructor Initializes a new instance of the TreeNode class.

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