Dynamicweb 8 Documentation
SetCategoryValue(String,Field,Object) Method

An ID (system name) of the category.
An instance of the target category field.
Category field value.
Assigns category field value to the current product.
Syntax
'Declaration
 
Public Overloads Sub SetCategoryValue( _ 
   ByVal categoryID As String, _ 
   ByVal field As Field, _ 
   ByVal value As Object _ 
) 
public void SetCategoryValue( 
   string categoryID,
   Field field,
   object value 
)

Parameters

categoryID
An ID (system name) of the category.
field
An instance of the target category field.
value
Category field value.
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

Product Class
Product Members
Overload List

Send Feedback