Udostępnij za pośrednictwem


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
Aa149311.pubmethod(en-US,CS.70).gif AddParentCategory Adds a category as a parent category of this category. (Inherited from CatalogItem.)
Aa149311.pubmethod(en-US,CS.70).gif AddRelationshipToCategory Overloaded.
Aa149311.pubmethod(en-US,CS.70).gif AddRelationshipToProduct Overloaded.
Aa149311.pubmethod(en-US,CS.70).gif Dispose Obsolete. (Obsolete) Releases all resources use by the CatalogItem. (Inherited from CatalogItem.)
Aa149311.pubmethod(en-US,CS.70).gif Equals (Inherited from Object.)
Aa149311.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa149311.protmethod(en-US,CS.70).gif FixUpProxyDataObject (Private) Some fields in the Proxy Data Object may be null. (Overrides CatalogItem..::.FixUpProxyDataObject()()().)
Aa149311.protmethod(en-US,CS.70).gif GetCategoryCollectionConfiguration Creates a new CategoryConfiguration object with the configuration of the existing Category. (Overrides CatalogItem..::.GetCategoryCollectionConfiguration()()().)
Aa149311.pubmethod(en-US,CS.70).gif 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.
Aa149311.pubmethod(en-US,CS.70).gif GetChildCategories Overloaded. Use this method to get the CategoryName, CatalogName, DefinitionName and DisplayName properties for the immediate child categories of this category.
Aa149311.pubmethod(en-US,CS.70).gif GetHashCode (Inherited from Object.)
Aa149311.protmethod(en-US,CS.70).gif GetProductCollectionConfiguration Creates a new ProductConfiguration object with the configuration of the existing Product.
Aa149311.pubmethod(en-US,CS.70).gif GetProducts Overloaded. Use this method to get all properties for all of the products in this category object.
Aa149311.pubmethod(en-US,CS.70).gif GetRelatedCategories Obsolete. (Obsolete) GetRelatedCategories should not be used, use RelatedCategories instead. Gets the categories related to the current catalog item. (Inherited from CatalogItem.)
Aa149311.pubmethod(en-US,CS.70).gif GetRelatedProducts Obsolete. (Obsolete) GetRelatedProducts should not be used, use GetRelatedCategories instead. Gets the products related to the current catalog item. (Inherited from CatalogItem.)
Aa149311.pubmethod(en-US,CS.70).gif GetType (Inherited from Object.)
Aa149311.pubmethod(en-US,CS.70).gif HasProperty Returns true if the underlying dataset contains the specified property. (Inherited from CatalogItem.)
Aa149311.protmethod(en-US,CS.70).gif HookUpAncestorCategories Hook up dataset events for ancestor parent categories dataset. (Inherited from CatalogItem.)
Aa149311.protmethod(en-US,CS.70).gif HookUpCanonicalCategories Hook up dataset events for canonical parent categories dataset. (Inherited from CatalogItem.)
Aa149311.protmethod(en-US,CS.70).gif HookUpChildCategories Hook up dataset events for child categories dataset.
Aa149311.protmethod(en-US,CS.70).gif HookUpChildProducts Hook up dataset events for child product dataset.
Aa149311.protmethod(en-US,CS.70).gif HookUpInformation Hook up dataset events for information dataset. (Inherited from CatalogItem.)
Aa149311.protmethod(en-US,CS.70).gif HookUpParentCategories Hook up dataset events for parent categories dataset. (Inherited from CatalogItem.)
Aa149311.protmethod(en-US,CS.70).gif HookUpRelatedCategories Hook up dataset events for related categories dataset. (Inherited from CatalogItem.)
Aa149311.protmethod(en-US,CS.70).gif HookUpRelatedProducts Hook up dataset events for related products dataset. (Inherited from CatalogItem.)
Aa149311.protmethod(en-US,CS.70).gif Initialize This method follows the "Template Method" pattern, enforcing the initialization pattern. (Inherited from CatalogObject.)
Aa149311.protmethod(en-US,CS.70).gif InitializeEventHandlers (Private) Initializes the dataset event handlers for the datasets in this class. (Overrides CatalogItem..::.InitializeEventHandlers()()().)
Aa149311.pubmethod(en-US,CS.70).gif IsListPriceNull Returns true for categories without list price values. Always returns false for other types. (Inherited from CatalogItem.)
Aa149311.pubmethod(en-US,CS.70).gif IsPropertyNull Gets a value indicating whether the specified property contains a nullNothingnullptra null reference (Nothing in Visual Basic) value. (Inherited from CatalogItem.)
Aa149311.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa149311.pubmethod(en-US,CS.70).gif Refresh Overloaded. Reload the object from the web service or database.
Aa149311.pubmethod(en-US,CS.70).gif RemoveParentCategory Removes the category as a parent of the current category. (Inherited from CatalogItem.)
Aa149311.pubmethod(en-US,CS.70).gif RemoveRelationshipToCategory Removes an existing category relationship to the category in the catalog. (Inherited from CatalogItem.)
Aa149311.pubmethod(en-US,CS.70).gif RemoveRelationshipToProduct Removes an existing product relationship to the product in the catalog. (Inherited from CatalogItem.)
Aa149311.pubmethod(en-US,CS.70).gif Save Overloaded.
Aa149311.pubmethod(en-US,CS.70).gif SetListPriceNull Allows clearing the list price for the category, this can also be accomplished using the Information dataset.
Aa149311.pubmethod(en-US,CS.70).gif ToString (Inherited from Object.)

Top

Properties

  Name Description
Aa149311.pubproperty(en-US,CS.70).gif ActiveLanguage Gets or sets the active language of the Catalog system. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif AncestorCategories Gets a collection containing the ancestor categories for the current catalog item. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif AncestorCategoryNames Gets a collection containing names of all categories that are above this category in the category hierarchy. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif BaseCatalogName Gets the base catalog name of this catalog item. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif CanonicalCategories Gets a collection containing the canonical categories for the current catalog item. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif CanonicalCategoryPath Gets the CanonicalCategoryPath property that gets the names of the categories that for a canonical path to this category. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif CatalogClassType Gets the catalog class type of this catalog item. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif CatalogContext Gets the CatalogContext object. (Inherited from CatalogObjectBase.)
Aa149311.pubproperty(en-US,CS.70).gif CatalogName Gets the catalog name for the current catalog item. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif ChildCategories Gets a CatalogItemsDataSet containing all the child categories in this category.
Aa149311.pubproperty(en-US,CS.70).gif ChildCategoriesCount Obsolete. (Obsolete) Gets the number of child categories of this category.
Aa149311.pubproperty(en-US,CS.70).gif ChildCategoryNames Obsolete. (Obsolete) Gets a ReadOnlyStringCollection containing the list of names of the child categories of this category.
Aa149311.pubproperty(en-US,CS.70).gif ChildProducts Gets a CatalogItemsDataSet containing all the child products in this category.
Aa149311.pubproperty(en-US,CS.70).gif ChildProductsCount Obsolete. (Obsolete) Gets the number of child products of this category.
Aa149311.pubproperty(en-US,CS.70).gif Configuration Gets the configuration of this object.
Aa149311.protproperty(en-US,CS.70).gif DataObject Gets an object that is used to describe the internal properties of the catalog objects. (Inherited from CatalogObject.)
Aa149311.pubproperty(en-US,CS.70).gif DebugContext Gets the DebugContext object. (Inherited from CatalogObjectBase.)
Aa149311.pubproperty(en-US,CS.70).gif DefinitionName Gets the name of product or category definition used to create this item. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif DisplayName Gets or sets the DisplayName property for this catalog item. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif Information Gets the information for the current catalog item. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif IsVirtualCatalog Gets a value indicating whether this catalog item exists in a virtual catalog or a base catalog. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif Item Gets or sets the properties of this CatalogItem. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif ListPrice Gets the List price for this product or product family. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif Name Gets the name of the category.
Aa149311.pubproperty(en-US,CS.70).gif OriginalCategoryName Gets the original category name for this category.
Aa149311.pubproperty(en-US,CS.70).gif ParentCategories Gets a collection containing the parent categories for the current catalog item. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif ParentCategoryNames Gets a collection containing the names of the parent categories of this item. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif PrimaryParentCategoryName Gets or sets the primary parent category for the current catalog item. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif ProductCatalog Gets a product catalog object for this objects product catalog. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif RelatedCategories Returns the categories related to the current catalog item. (Inherited from CatalogItem.)
Aa149311.pubproperty(en-US,CS.70).gif RelatedProducts Gets the products related to the current catalog item. (Inherited from CatalogItem.)

Top

See Also

Reference

Category Class

Microsoft.CommerceServer.Catalog Namespace