Create a new category

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function CreateCategory( _ 
ByVal name As String, _ 
ByVal description As String, _ 
ByVal parent_cat_id As EntityID, _ 
ByVal user_id As EntityID, _ 
ByVal db As IDatabase
) As EntityID
This language is not supported or no code example is available.
public static EntityID CreateCategory( 
string name
string description
EntityID parent_cat_id
EntityID user_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ CreateCategory( 
String^ name
String^ description
EntityID^ parent_cat_id
EntityID^ user_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function CreateCategory( 
name : String
description : String
parent_cat_id : EntityID
user_id : EntityID
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

name
Type: string

the categroy name

description
Type: string

parent_cat_id
Type: EntityID

user_id
Type: EntityID

the id of the

db
Type: IDatabase

the db connection

Return Value

Type: EntityID

the created category id

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1