Dynamicweb 8 Documentation
Category Class Members
Properties  Methods 


The following tables list the members exposed by Category.

Public Properties
 NameDescription
Public PropertyFieldsThe fields belonging to this Dynamicweb.eCommerce.Products.Categories.Category object.  
Public PropertyIDReturns the ID of the current Dynamicweb.eCommerce.Products.Categories.Category.  
Public PropertyIsNewIndicates whether this Dynamicweb.eCommerce.Products.Categories.Category is new.  
Public PropertyLanguageGets the language for this Dynamicweb.eCommerce.Products.Categories.Category.  
Public PropertyNameGets or sets the name of this Dynamicweb.eCommerce.Products.Categories.Category.  
Top
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