Table of Contents

Class Category

Namespace
Dynamicweb.Ecommerce.Products.Categories
Assembly
Dynamicweb.Ecommerce.dll

The class Category represents product category.

[Serializable]
public class Category
Inheritance
Category
Inherited Members

Properties

CategoryType

public CategoryType CategoryType { get; set; }

Property Value

CategoryType

Id

Returns the ID of the current Dynamicweb.eCommerce.Products.Categories.Category.

public string Id { get; }

Property Value

string

Remarks

0 indicates a new Dynamicweb.eCommerce.Products.Categories.Category.

IsNew

Indicates whether this Dynamicweb.eCommerce.Products.Categories.Category is new.

public bool IsNew { get; }

Property Value

bool

Translations

Gets the translations for the current entity

public TranslationCollection<CategoryTranslation> Translations { get; }

Property Value

TranslationCollection<CategoryTranslation>

Methods

GetName(string)

public string GetName(string languageId)

Parameters

languageId string

Returns

string

SetName(string, string)

public void SetName(string languageId, string name)

Parameters

languageId string
name string
To top