Dynamicweb 8 Documentation
Category Class Methods


For a list of all members of this type, see Category members.

Public Methods
 NameDescription
Public MethodAddFieldOverloaded. Adds a Dynamicweb.eCommerce.Products.Categories.Field to the Dynamicweb.eCommerce.Products.Categories.FieldCollection of this Dynamicweb.eCommerce.Products.Categories.Category. Also adds a language version of the Dynamicweb.eCommerce.Products.Categories.Field to each language version of this Dynamicweb.eCommerce.Products.Categories.Category.  
Public Methodstatic (Shared in Visual Basic)CreateOverloaded. Creates a new Dynamicweb.eCommerce.Products.Categories.Category object with the given parameters and saves it to the database. In addition a Dynamicweb.eCommerce.Products.Categories.Category object is creates for all current eCommerce Languages. The ID of the object is auto-generated. The Dynamicweb.eCommerce.International.Language of the object is set to Context.Language.  
Public MethodDeleteDeletes the current Dynamicweb.eCommerce.Products.Categories.Category and all fields associated, and all Language Versions.  
Public Methodstatic (Shared in Visual Basic)GetCategoriesOverloaded. Returns all Dynamicweb.eCommerce.Products.Categories.Category objects from database.  
Public Methodstatic (Shared in Visual Basic)GetCategoryByIDReturns the Dynamicweb.eCommerce.Products.Categories.Category with the given ID. The default Language is used.  
Public MethodRemoveField  
Public MethodSaveSaves the current Dynamicweb.eCommerce.Products.Categories.Category.  
Top
See Also

Reference

Category Class
Dynamicweb.eCommerce.Products.Categories Namespace

Send Feedback