The Category type exposes the following members.

Constructors

  NameDescription
CategoryOverloaded.

Methods

  NameDescription
Clone
Clone this category and all children to get a new instance
Delete
Delete the current category and its children from the collection and database
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FindOverloaded.
FindChildOverloaded.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetList
Return all descendant categories. Implements IListSource which provides the functionality so a category tree can be databound as a flat list.
GetRoot
Get the category tree starting at the root
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Save
Save changes made to the current category
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
RootName
Name of the root category.

Properties

  NameDescription
Available
If the category should be available in edit mode
Categories
Child categories
Description
Description of category
GUID
Globally unique identifier
ID
The database unique identification number
Indent
The indent where the root category is 0
LocalizedDescription
Localized description of category, will fall back to Description if not found
Name
Name of category
Parent
Parent category or null for the root category
Selectable
If the category should be selectable in edit mode
SortOrder
The index for sorting categories on the same branch

See Also