Create a post in a topic

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

Public Shared Function CreatePost( _ 
ByVal server_id As ServerID, _ 
ByVal topic_id As EntityID, _ 
ByVal post As String, _ 
ByVal user_id As EntityID, _ 
ByVal db As IDatabase, _ 
ByVal post_time_utc As Date
) As EntityID
This language is not supported or no code example is available.
public static EntityID CreatePost( 
ServerID server_id
EntityID topic_id
string post
EntityID user_id
IDatabase db
DateTime post_time_utc 
)
This language is not supported or no code example is available.
public:  
static EntityID^ CreatePost( 
ServerID^ server_id
EntityID^ topic_id
String^ post
EntityID^ user_id
IDatabase^ db
DateTime post_time_utc 
)
This language is not supported or no code example is available.
public static function CreatePost( 
server_id : ServerID
topic_id : EntityID
post : String
user_id : EntityID
db : IDatabase
post_time_utc : DateTime 
) : EntityID;
This language is not supported or no code example is available.

Parameters

server_id
Type: ServerID

the server id

topic_id
Type: EntityID

the topic id

post
Type: string

the data to post

user_id
Type: EntityID

the user id

db
Type: IDatabase

the database

post_time_utc
Type: DateTime

Return Value

Type: EntityID

the id of the post

.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