  | ProductCategoryServiceAddFieldToCategory Method (Category, String, String, String, String, String, FieldListPresentationType, FieldOptionCollection) | 
  
    Namespace: 
   Dynamicweb.Ecommerce.Products.Categories
    Assembly:
   Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntaxpublic void AddFieldToCategory(
	Category theCategory,
	string systemName,
	string label,
	string templateTag,
	string type,
	string defaultValue,
	FieldListPresentationType presentation,
	FieldOptionCollection options
)
Public Sub AddFieldToCategory ( 
	theCategory As Category,
	systemName As String,
	label As String,
	templateTag As String,
	type As String,
	defaultValue As String,
	presentation As FieldListPresentationType,
	options As FieldOptionCollection
)
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
 
See Also