Partilhar via


StaticCategory Members

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

The StaticCategory class manages a static category. A static category is a category to which product catalogs are explicitly added and removed. This class cannot be inherited.

The StaticCategory type exposes the following members.

Methods

  Name Description
Aa128172.pubmethod(en-US,CS.70).gif AddChildCategory Adds a category as a child category of this category.
Aa128172.pubmethod(en-US,CS.70).gif AddParentCategory Adds a category as a parent category of this category. (Inherited from CatalogItem.)
Aa128172.pubmethod(en-US,CS.70).gif AddProduct Adds a product as a child product of the category.
Aa128172.pubmethod(en-US,CS.70).gif AddRelationshipToCategory Overloaded.
Aa128172.pubmethod(en-US,CS.70).gif AddRelationshipToProduct Overloaded.
Aa128172.pubmethod(en-US,CS.70).gif Dispose Obsolete. (Obsolete) Releases all resources use by the CatalogItem. (Inherited from CatalogItem.)
Aa128172.pubmethod(en-US,CS.70).gif Equals (Inherited from Object.)
Aa128172.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa128172.protmethod(en-US,CS.70).gif FixUpProxyDataObject (Private) Some fields in the Proxy Data Object may be null. (Inherited from Category.)
Aa128172.protmethod(en-US,CS.70).gif GetCategoryCollectionConfiguration Creates a new CategoryConfiguration object with the configuration of the existing Category. (Inherited from Category.)
Aa128172.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. (Inherited from Category.)
Aa128172.pubmethod(en-US,CS.70).gif GetChildCategories Overloaded.
Aa128172.pubmethod(en-US,CS.70).gif GetHashCode (Inherited from Object.)
Aa128172.protmethod(en-US,CS.70).gif GetProductCollectionConfiguration Creates a new ProductConfiguration object with the configuration of the existing Product. (Inherited from Category.)
Aa128172.pubmethod(en-US,CS.70).gif GetProducts Overloaded.
Aa128172.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.)
Aa128172.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.)
Aa128172.pubmethod(en-US,CS.70).gif GetType (Inherited from Object.)
Aa128172.pubmethod(en-US,CS.70).gif HasProperty Returns true if the underlying dataset contains the specified property. (Inherited from CatalogItem.)
Aa128172.protmethod(en-US,CS.70).gif HookUpAncestorCategories Hook up dataset events for ancestor parent categories dataset. (Inherited from CatalogItem.)
Aa128172.protmethod(en-US,CS.70).gif HookUpCanonicalCategories Hook up dataset events for canonical parent categories dataset. (Inherited from CatalogItem.)
Aa128172.protmethod(en-US,CS.70).gif HookUpChildCategories Hook up dataset events for child categories dataset. (Inherited from Category.)
Aa128172.protmethod(en-US,CS.70).gif HookUpChildProducts Hook up dataset events for child product dataset. (Inherited from Category.)
Aa128172.protmethod(en-US,CS.70).gif HookUpInformation Hook up dataset events for information dataset. (Inherited from CatalogItem.)
Aa128172.protmethod(en-US,CS.70).gif HookUpParentCategories Hook up dataset events for parent categories dataset. (Inherited from CatalogItem.)
Aa128172.protmethod(en-US,CS.70).gif HookUpRelatedCategories Hook up dataset events for related categories dataset. (Inherited from CatalogItem.)
Aa128172.protmethod(en-US,CS.70).gif HookUpRelatedProducts Hook up dataset events for related products dataset. (Inherited from CatalogItem.)
Aa128172.protmethod(en-US,CS.70).gif Initialize This method follows the "Template Method" pattern, enforcing the initialization pattern. (Inherited from CatalogObject.)
Aa128172.protmethod(en-US,CS.70).gif InitializeEventHandlers (Private) Initializes the dataset event handlers for the datasets in this class. (Inherited from Category.)
Aa128172.pubmethod(en-US,CS.70).gif IsListPriceNull Returns true for categories without list price values. Always returns false for other types. (Inherited from CatalogItem.)
Aa128172.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.)
Aa128172.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa128172.pubmethod(en-US,CS.70).gif Refresh Overloaded.
Aa128172.pubmethod(en-US,CS.70).gif RemoveChildCategory Removes the category as a child of the current category.
Aa128172.pubmethod(en-US,CS.70).gif RemoveParentCategory Removes the category as a parent of the current category. (Inherited from CatalogItem.)
Aa128172.pubmethod(en-US,CS.70).gif RemoveProduct Removes the product as a child of the current category.
Aa128172.pubmethod(en-US,CS.70).gif RemoveRelationshipToCategory Removes an existing category relationship to the category in the catalog. (Inherited from CatalogItem.)
Aa128172.pubmethod(en-US,CS.70).gif RemoveRelationshipToProduct Removes an existing product relationship to the product in the catalog. (Inherited from CatalogItem.)
Aa128172.pubmethod(en-US,CS.70).gif Save Overloaded. Persists any changes made to the StaticCategory.
Aa128172.pubmethod(en-US,CS.70).gif SetListPriceNull Allows clearing the list price for the category, this can also be accomplished using the Information dataset. (Inherited from Category.)
Aa128172.pubmethod(en-US,CS.70).gif ToString (Inherited from Object.)

Top

Properties

  Name Description
Aa128172.pubproperty(en-US,CS.70).gif ActiveLanguage Gets or sets the active language of the Catalog system. (Inherited from CatalogItem.)
Aa128172.pubproperty(en-US,CS.70).gif AncestorCategories Gets a collection containing the ancestor categories for the current catalog item. (Inherited from CatalogItem.)
Aa128172.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.)
Aa128172.pubproperty(en-US,CS.70).gif BaseCatalogName Gets the base catalog name of this catalog item. (Inherited from CatalogItem.)
Aa128172.pubproperty(en-US,CS.70).gif CanonicalCategories Gets a collection containing the canonical categories for the current catalog item. (Inherited from CatalogItem.)
Aa128172.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.)
Aa128172.pubproperty(en-US,CS.70).gif CatalogClassType Gets the catalog class type of this catalog item. (Inherited from CatalogItem.)
Aa128172.pubproperty(en-US,CS.70).gif CatalogContext Gets the CatalogContext object. (Inherited from CatalogObjectBase.)
Aa128172.pubproperty(en-US,CS.70).gif CatalogName Gets the catalog name for the current catalog item. (Inherited from CatalogItem.)
Aa128172.pubproperty(en-US,CS.70).gif ChildCategories Gets a CatalogItemsDataSet containing all the child categories in this category. (Inherited from Category.)
Aa128172.pubproperty(en-US,CS.70).gif ChildCategoriesCount Obsolete. (Obsolete) Gets the number of child categories of this category. (Inherited from Category.)
Aa128172.pubproperty(en-US,CS.70).gif ChildCategoryNames Obsolete. (Obsolete) Gets a ReadOnlyStringCollection containing the list of names of the child categories of this category. (Inherited from Category.)
Aa128172.pubproperty(en-US,CS.70).gif ChildProducts Gets a CatalogItemsDataSet containing all the child products in this category. (Inherited from Category.)
Aa128172.pubproperty(en-US,CS.70).gif ChildProductsCount Obsolete. (Obsolete) Gets the number of child products of this category. (Inherited from Category.)
Aa128172.pubproperty(en-US,CS.70).gif Configuration Gets the configuration of this object. (Inherited from Category.)
Aa128172.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.)
Aa128172.pubproperty(en-US,CS.70).gif DebugContext Gets the DebugContext object. (Inherited from CatalogObjectBase.)
Aa128172.pubproperty(en-US,CS.70).gif DefinitionName Gets the name of product or category definition used to create this item. (Inherited from CatalogItem.)
Aa128172.pubproperty(en-US,CS.70).gif DisplayName Gets or sets the DisplayName property for this catalog item. (Inherited from CatalogItem.)
Aa128172.pubproperty(en-US,CS.70).gif Information Gets the information for the current catalog item. (Inherited from CatalogItem.)
Aa128172.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.)
Aa128172.pubproperty(en-US,CS.70).gif Item Gets or sets the properties of this CatalogItem. (Inherited from CatalogItem.)
Aa128172.pubproperty(en-US,CS.70).gif ListPrice Gets the List price for this product or product family. (Inherited from CatalogItem.)
Aa128172.pubproperty(en-US,CS.70).gif Name Gets the name of the category. (Inherited from Category.)
Aa128172.pubproperty(en-US,CS.70).gif OriginalCategoryName Gets the original category name for this category. (Inherited from Category.)
Aa128172.pubproperty(en-US,CS.70).gif ParentCategories Gets a collection containing the parent categories for the current catalog item. (Inherited from CatalogItem.)
Aa128172.pubproperty(en-US,CS.70).gif ParentCategoryNames Gets a collection containing the names of the parent categories of this item. (Inherited from CatalogItem.)
Aa128172.pubproperty(en-US,CS.70).gif PrimaryParentCategoryName Gets or sets the primary parent category for the current catalog item. (Inherited from CatalogItem.)
Aa128172.pubproperty(en-US,CS.70).gif ProductCatalog Gets a product catalog object for this objects product catalog. (Inherited from CatalogItem.)
Aa128172.pubproperty(en-US,CS.70).gif RelatedCategories Returns the categories related to the current catalog item. (Inherited from CatalogItem.)
Aa128172.pubproperty(en-US,CS.70).gif RelatedProducts Gets the products related to the current catalog item. (Inherited from CatalogItem.)

Top

See Also

Reference

StaticCategory Class

Microsoft.CommerceServer.Catalog Namespace