Forum.CreateCategory Method
Public Shared Function CreateCategory( _
ByVal server_id As ServerID, _
ByVal name As String, _
ByVal description As String, _
ByVal forum_id As EntityID, _
ByVal user_id As EntityID, _
ByVal order As Integer, _
ByVal db As IDatabase _
) As EntityID
This language is not supported or no code example is available.
Parameters
- server_id
- ServerID
the id of the server
- name
- string
the name of the category to create
- description
- string
a description
- forum_id
- EntityID
the id of the forum
- user_id
- EntityID
the id of the user
- order
- int
the order of the category within the forum -1 will put it at the end
- db
- IDatabase
the database to use
Return Value
EntityIDthe id of the category