Ektron CMS400.NET API Documentation
|
Adds a Post to the Forum. You can specify a post to reply to. You can post anonymously.
public Long AddReply(Long TopicID, String Message, Long ForUserID, int ReplyToPost, Boolean Approved, Boolean Anonymous, String IPAddress, FileAttachment FileAttachments);
Public Function AddReply(ByVal TopicID As Long, ByVal Message As String, ByVal ForUserID As Long, ByVal ReplyToPost As Integer, ByVal Approved As Boolean, ByVal Anonymous As Boolean, ByVal IPAddress As String, ByVal FileAttachments() As FileAttachment) As Long
Parameters |
Description |
TopicID |
The numeric ID of the topic to add the post to. |
Message |
The unencoded HTML of the message. |
ForUserID |
The ID of the user who is posting. |
ReplyToPost |
The ID of the post to which the user is replying. |
Approved |
Set to True to approve the post. Otherwise, the post is set to appending. |
Anonymous |
Set to True to add the post anonymously. Otherwise, the post will be attributed to the logged in user. |
IPAddress |
IP address of the poster. |
FileAttachments |
Array of file attachment classes. If attaching documents or images to the post. |
Numeric representing the ID of the post that was added. (Long)
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|