You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > Blog Class > Blog Methods > AddCommentForPost
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Blog.AddCommentForPost Method

Adds a post comment to a blog post. Accepts a BlogComment class as the input. Will return the result of that add action. False indicates the action was successful. 

This method can be accessed through the blog.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Content/Blog.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "AddCommentForPost", Description = "")]
public bool AddCommentForPost(BlogComment bcComment);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "AddCommentForPost", Description = "")>
Public Function AddCommentForPost(bcComment As BlogComment) As bool
Parameters 
Description 
bcComment 
A populated BlogComment class. Title, DisplayName, Comment text, Email are required. 

A Boolean value indicating whether there was a problem. False indicates the comment was added successfully.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!