Click or drag to resize

ProductCategoryServiceAddFieldToCategory Method (Category, String, String, String, String, String, FieldListPresentationType, FieldOptionCollection, Int32, String)

Namespace:  Dynamicweb.Ecommerce.Products.Categories
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax
public void AddFieldToCategory(
	Category theCategory,
	string systemName,
	string label,
	string templateTag,
	string type,
	string defaultValue,
	FieldListPresentationType presentation,
	FieldOptionCollection options,
	int sortOrder,
	string description
)

Parameters

theCategory
Type: Dynamicweb.Ecommerce.Products.CategoriesCategory
systemName
Type: SystemString
label
Type: SystemString
templateTag
Type: SystemString
type
Type: SystemString
defaultValue
Type: SystemString
presentation
Type: Dynamicweb.Ecommerce.ProductsFieldListPresentationType
options
Type: Dynamicweb.Ecommerce.ProductsFieldOptionCollection
sortOrder
Type: SystemInt32
description
Type: SystemString
See Also