Click or drag to resize
ResultCategoryNode Class
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
SystemObject
  Apptus.ESales.ConnectorResult
    Apptus.ESales.ConnectorResultCategory
      Apptus.ESales.ConnectorResultCategoryNode

Namespace:  Apptus.ESales.Connector
Assembly:  Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 4.5.0
Syntax
C#
public class CategoryNode : ResultCategory

The ResultCategoryNode type exposes the following members.

Properties
  NameDescription
Public propertyDisplayName
The display name of this category.
(Inherited from ResultCategory.)
Public propertyKey
The key of this category.
(Inherited from ResultCategory.)
Public propertyLocale
The locale of this category.
(Inherited from ResultCategory.)
Public propertyParent
The parent of this category.
Public propertyParentKey
The parent key of this category.
(Inherited from ResultCategory.)
Public propertyProductCount
The total number of products contained in this category. Will be -1 if not supported by the requested panel.
(Inherited from ResultCategory.)
Public propertySelected
Check if this category is a selected category. Ancestors to a selected category are always selected as well.
Public propertySubcategories
A list of this category's subcategories, if they were included in the result.
Public propertyTicket
The ticket of this category.
(Inherited from ResultCategory.)
Public propertyType
The result type of this result.
(Inherited from ResultCategory.)
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindDescendant
Searches for the specified category key among this category and its descendants.
Public methodGetAttribute
Get the attribute with the specified name or null if no such attribute exists for this category.
(Inherited from ResultCategory.)
Public methodGetEnumerator
Returns an enumerator that iterates through the attributes.
(Inherited from ResultCategory.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetSelectedSubcategory
Get the selected category among this category's subcategories.
Public methodGetType (Inherited from Object.)
Public methodGetValue(String)
Get the attribute with the specified
name
from this category or null if no such attribute exists.
(Inherited from ResultCategory.)
Public methodGetValue(String, String)
Get the value of the attribute with the specified
attributeName
. The specified
defaultValue
will be returned if no such attribute exists.
(Inherited from ResultCategory.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic membermock
Creates a new CategoryNode object for test purposes.
Public methodToString (Inherited from Object.)
Top
Fields
See Also