CreateComment methodAdds a comment to a topic. Syntax
ParametersTitleThe title of the new comment. DescriptionThe description of the comment. DescriptionFormatIndicates whether the Description parameter is in HTML or plain text format. For further information, see ERUTextFormat. pResponseToIdentifies the comment that the new comment is a response to. If the value of pResponseTo is NULL (C++) or Nothing (scripting languages), the new comment is created at level 0. If the value of pResponseTo is anything other than NULL/Nothing and you are creating a response on a discussion page that does not allow nested comments, or if the comment you are responding to is part of an embedded topic, CreateComment returns the error EROOM_E_INVALIDOPERATION. ppCommentUpon return, an IERUItem interface pointer to the newly-created comment. Return value
|
Home |