Category Members
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Used to manage a category in a catalog. This class is an abstract class derived from CatalogItem class.
The Category type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
AddParentCategory | Adds a category as a parent category of this category. (Inherited from CatalogItem.) |
![]() |
AddRelationshipToCategory | Overloaded. |
![]() |
AddRelationshipToProduct | Overloaded. |
![]() |
Dispose | Obsolete. (Obsolete) Releases all resources use by the CatalogItem. (Inherited from CatalogItem.) |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
FixUpProxyDataObject | (Private) Some fields in the Proxy Data Object may be null. (Overrides CatalogItem..::.FixUpProxyDataObject()()().) |
![]() |
GetCategoryCollectionConfiguration | Creates a new CategoryConfiguration object with the configuration of the existing Category. (Overrides CatalogItem..::.GetCategoryCollectionConfiguration()()().) |
![]() |
GetCategoryProperties | Obsolete. (Obsolete) Returns a DataSet that contains the properties for this category. Both the properties that are present in the definition of this category and the built-in properties are returned. |
![]() |
GetChildCategories | Overloaded. Use this method to get the CategoryName, CatalogName, DefinitionName and DisplayName properties for the immediate child categories of this category. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetProductCollectionConfiguration | Creates a new ProductConfiguration object with the configuration of the existing Product. |
![]() |
GetProducts | Overloaded. Use this method to get all properties for all of the products in this category object. |
![]() |
GetRelatedCategories | Obsolete. (Obsolete) GetRelatedCategories should not be used, use RelatedCategories instead. Gets the categories related to the current catalog item. (Inherited from CatalogItem.) |
![]() |
GetRelatedProducts | Obsolete. (Obsolete) GetRelatedProducts should not be used, use GetRelatedCategories instead. Gets the products related to the current catalog item. (Inherited from CatalogItem.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
HasProperty | Returns true if the underlying dataset contains the specified property. (Inherited from CatalogItem.) |
![]() |
HookUpAncestorCategories | Hook up dataset events for ancestor parent categories dataset. (Inherited from CatalogItem.) |
![]() |
HookUpCanonicalCategories | Hook up dataset events for canonical parent categories dataset. (Inherited from CatalogItem.) |
![]() |
HookUpChildCategories | Hook up dataset events for child categories dataset. |
![]() |
HookUpChildProducts | Hook up dataset events for child product dataset. |
![]() |
HookUpInformation | Hook up dataset events for information dataset. (Inherited from CatalogItem.) |
![]() |
HookUpParentCategories | Hook up dataset events for parent categories dataset. (Inherited from CatalogItem.) |
![]() |
HookUpRelatedCategories | Hook up dataset events for related categories dataset. (Inherited from CatalogItem.) |
![]() |
HookUpRelatedProducts | Hook up dataset events for related products dataset. (Inherited from CatalogItem.) |
![]() |
Initialize | This method follows the "Template Method" pattern, enforcing the initialization pattern. (Inherited from CatalogObject.) |
![]() |
InitializeEventHandlers | (Private) Initializes the dataset event handlers for the datasets in this class. (Overrides CatalogItem..::.InitializeEventHandlers()()().) |
![]() |
IsListPriceNull | Returns true for categories without list price values. Always returns false for other types. (Inherited from CatalogItem.) |
![]() |
IsPropertyNull | Gets a value indicating whether the specified property contains a nullNothingnullptra null reference (Nothing in Visual Basic) value. (Inherited from CatalogItem.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
Refresh | Overloaded. Reload the object from the web service or database. |
![]() |
RemoveParentCategory | Removes the category as a parent of the current category. (Inherited from CatalogItem.) |
![]() |
RemoveRelationshipToCategory | Removes an existing category relationship to the category in the catalog. (Inherited from CatalogItem.) |
![]() |
RemoveRelationshipToProduct | Removes an existing product relationship to the product in the catalog. (Inherited from CatalogItem.) |
![]() |
Save | Overloaded. |
![]() |
SetListPriceNull | Allows clearing the list price for the category, this can also be accomplished using the Information dataset. |
![]() |
ToString | (Inherited from Object.) |
Top
Properties
Name | Description | |
---|---|---|
![]() |
ActiveLanguage | Gets or sets the active language of the Catalog system. (Inherited from CatalogItem.) |
![]() |
AncestorCategories | Gets a collection containing the ancestor categories for the current catalog item. (Inherited from CatalogItem.) |
![]() |
AncestorCategoryNames | Gets a collection containing names of all categories that are above this category in the category hierarchy. (Inherited from CatalogItem.) |
![]() |
BaseCatalogName | Gets the base catalog name of this catalog item. (Inherited from CatalogItem.) |
![]() |
CanonicalCategories | Gets a collection containing the canonical categories for the current catalog item. (Inherited from CatalogItem.) |
![]() |
CanonicalCategoryPath | Gets the CanonicalCategoryPath property that gets the names of the categories that for a canonical path to this category. (Inherited from CatalogItem.) |
![]() |
CatalogClassType | Gets the catalog class type of this catalog item. (Inherited from CatalogItem.) |
![]() |
CatalogContext | Gets the CatalogContext object. (Inherited from CatalogObjectBase.) |
![]() |
CatalogName | Gets the catalog name for the current catalog item. (Inherited from CatalogItem.) |
![]() |
ChildCategories | Gets a CatalogItemsDataSet containing all the child categories in this category. |
![]() |
ChildCategoriesCount | Obsolete. (Obsolete) Gets the number of child categories of this category. |
![]() |
ChildCategoryNames | Obsolete. (Obsolete) Gets a ReadOnlyStringCollection containing the list of names of the child categories of this category. |
![]() |
ChildProducts | Gets a CatalogItemsDataSet containing all the child products in this category. |
![]() |
ChildProductsCount | Obsolete. (Obsolete) Gets the number of child products of this category. |
![]() |
Configuration | Gets the configuration of this object. |
![]() |
DataObject | Gets an object that is used to describe the internal properties of the catalog objects. (Inherited from CatalogObject.) |
![]() |
DebugContext | Gets the DebugContext object. (Inherited from CatalogObjectBase.) |
![]() |
DefinitionName | Gets the name of product or category definition used to create this item. (Inherited from CatalogItem.) |
![]() |
DisplayName | Gets or sets the DisplayName property for this catalog item. (Inherited from CatalogItem.) |
![]() |
Information | Gets the information for the current catalog item. (Inherited from CatalogItem.) |
![]() |
IsVirtualCatalog | Gets a value indicating whether this catalog item exists in a virtual catalog or a base catalog. (Inherited from CatalogItem.) |
![]() |
Item | Gets or sets the properties of this CatalogItem. (Inherited from CatalogItem.) |
![]() |
ListPrice | Gets the List price for this product or product family. (Inherited from CatalogItem.) |
![]() |
Name | Gets the name of the category. |
![]() |
OriginalCategoryName | Gets the original category name for this category. |
![]() |
ParentCategories | Gets a collection containing the parent categories for the current catalog item. (Inherited from CatalogItem.) |
![]() |
ParentCategoryNames | Gets a collection containing the names of the parent categories of this item. (Inherited from CatalogItem.) |
![]() |
PrimaryParentCategoryName | Gets or sets the primary parent category for the current catalog item. (Inherited from CatalogItem.) |
![]() |
ProductCatalog | Gets a product catalog object for this objects product catalog. (Inherited from CatalogItem.) |
![]() |
RelatedCategories | Returns the categories related to the current catalog item. (Inherited from CatalogItem.) |
![]() |
RelatedProducts | Gets the products related to the current catalog item. (Inherited from CatalogItem.) |
Top