Represents the root of a (possibly partial) category tree.
             The tree can be traversed using for example Subcategories, or utility methods such as
             GetSelectedSubcategory and FindDescendant(String).
            
Inheritance Hierarchy
Apptus.ESales.ConnectorResult
Apptus.ESales.ConnectorResultCategory
Apptus.ESales.ConnectorResultCategoryNode
Namespace: Apptus.ESales.Connector
Assembly: Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 4.3.0
Syntax
C#
public class CategoryNode : ResultCategory
The ResultCategoryNode type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
|  | DisplayName | 
            The display name of this category.
            (Inherited from ResultCategory.) | 
|  | Key | 
            The key of this category.
            (Inherited from ResultCategory.) | 
|  | Locale | 
             The locale of this category.
            (Inherited from ResultCategory.) | 
|  | Parent | 
            The parent of this category.
             | 
|  | ParentKey | 
            The parent key of this category.
            (Inherited from ResultCategory.) | 
|  | ProductCount | 
             The total number of products contained in this category. Will be -1 if not supported by the requested panel.
             (Inherited from ResultCategory.) | 
|  | Selected | 
             Check if this category is a selected category. Ancestors to a selected category are always selected as well.
              | 
|  | Subcategories | 
             A list of this category's subcategories, if they were included in the result.
             | 
|  | Ticket | 
             The ticket of this category.
            (Inherited from ResultCategory.) | 
|  | Type | 
             The result type of this result.
            (Inherited from ResultCategory.) | 
Methods
| Name | Description | |
|---|---|---|
|  | Equals | (Inherited from Object.) | 
|  | Finalize | (Inherited from Object.) | 
|  | FindDescendant | 
             Searches for the specified category key among this category and its descendants.
              | 
|  | GetAttribute | 
             Get the attribute with the specified name or null if no such attribute exists for this category.
            (Inherited from ResultCategory.) | 
|  | GetEnumerator | 
            Returns an enumerator that iterates through the attributes.
            (Inherited from ResultCategory.) | 
|  | GetHashCode | (Inherited from Object.) | 
|  | GetSelectedSubcategory | 
             Get the selected category among this category's subcategories.
              | 
|  | GetType | (Inherited from Object.) | 
|  | GetValue(String) | 
             Get the attribute with the specified (Inherited from ResultCategory.) name | 
|  | GetValue(String, String) | 
             Get the value of the attribute with the specified (Inherited from ResultCategory.) attributeName defaultValue | 
|  | MemberwiseClone | (Inherited from Object.) | 
|   | mock | 
             Creates a new CategoryNode object for test purposes.
             | 
|  | ToString | (Inherited from Object.) | 
Fields
| Name | Description | |
|---|---|---|
|  | _attributes | (Inherited from ResultCategory.) | 
See Also