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
ProductFieldTranslationThe 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
Returns
- bool
true
if the collection contains a translation; otherwisefalse
.
GetTranslatedField(string, string)
Gets the product field translation
public ProductFieldTranslation GetTranslatedField(string fieldId, string languageId)
Parameters
Returns
GetTranslatedFields(string)
Gets the product field translations (all languages)
public List<ProductFieldTranslation> GetTranslatedFields(string fieldId)
Parameters
fieldId
stringThe field id.