Table of Contents

Class ProductFieldTranslationCollection

Namespace
Dynamicweb.Ecommerce.Products
Assembly
Dynamicweb.Ecommerce.dll
The class ProductFieldTranslationCollection represents collection of ProductFieldTranslation.
public class ProductFieldTranslationCollection
Inheritance
ProductFieldTranslationCollection
Inherited Members

Methods

Add(ProductFieldTranslation)

Add the product field translation
public void Add(ProductFieldTranslation field)

Parameters

field ProductFieldTranslation
The field.

Contains(string, string)

Determines whether the collection contains a translation for the specified field ID and language ID.
public bool Contains(string fieldId, string languageId)

Parameters

fieldId string
The field id.
languageId string
The language id.

Returns

bool
true if the collection contains a translation; otherwise false.

GetTranslatedField(string, string)

Gets the product field translation
public ProductFieldTranslation GetTranslatedField(string fieldId, string languageId)

Parameters

fieldId string
The field id.
languageId string
The language id.

Returns

ProductFieldTranslation

GetTranslatedFields(string)

Gets the product field translations (all languages)
public List<ProductFieldTranslation> GetTranslatedFields(string fieldId)

Parameters

fieldId string
The field id.

Returns

List<ProductFieldTranslation>
To top