Dynamicweb 8 Documentation
AddField(String,String,String,String,String,FieldListPresentationType,FieldOptionCollection,Int32) Method

The SystemName of the Dynamicweb.eCommerce.Products.Categories.Field.
The Label of the Dynamicweb.eCommerce.Products.Categories.Field.
The type of the Dynamicweb.eCommerce.Products.Categories.Field.
Adds a Dynamicweb.eCommerce.Products.Categories.Field to the Dynamicweb.eCommerce.Products.Categories.FieldCollection of this Dynamicweb.eCommerce.Products.Categories.Category. Also adds a language version of the Dynamicweb.eCommerce.Products.Categories.Field to each language version of this Dynamicweb.eCommerce.Products.Categories.Category.
Syntax
'Declaration
 
Public Overloads Sub AddField( _ 
   ByVal systemName As String, _ 
   ByVal label As String, _ 
   ByVal templateTag As String, _ 
   ByVal type As String, _ 
   ByVal defaultValue As String, _ 
   ByVal presentation As FieldListPresentationType, _ 
   ByVal options As FieldOptionCollection, _ 
   ByVal sortOrder As Integer _ 
) 
public void AddField( 
   string systemName,
   string label,
   string templateTag,
   string type,
   string defaultValue,
   FieldListPresentationType presentation,
   FieldOptionCollection options,
   int sortOrder 
)

Parameters

systemName
The SystemName of the Dynamicweb.eCommerce.Products.Categories.Field.
label
The Label of the Dynamicweb.eCommerce.Products.Categories.Field.
templateTag
type
The type of the Dynamicweb.eCommerce.Products.Categories.Field.
defaultValue
presentation
options
sortOrder
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Category Class
Category Members
Overload List

Send Feedback