Show / Hide Table of Contents

Class CommentsResource

The "comments" collection of methods.

Inheritance
object
CommentsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Blogger.v3
Assembly: Google.Apis.Blogger.v3.dll
Syntax
public class CommentsResource

Constructors

CommentsResource(IClientService)

Constructs a new resource.

Declaration
public CommentsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Approve(string, string, string)

Marks a comment as not spam by blog id, post id and comment id.

Declaration
public virtual CommentsResource.ApproveRequest Approve(string blogId, string postId, string commentId)
Parameters
Type Name Description
string blogId

null

string postId

null

string commentId

null

Returns
Type Description
CommentsResource.ApproveRequest

Delete(string, string, string)

Deletes a comment by blog id, post id and comment id.

Declaration
public virtual CommentsResource.DeleteRequest Delete(string blogId, string postId, string commentId)
Parameters
Type Name Description
string blogId

null

string postId

null

string commentId

null

Returns
Type Description
CommentsResource.DeleteRequest

Get(string, string, string)

Gets a comment by id.

Declaration
public virtual CommentsResource.GetRequest Get(string blogId, string postId, string commentId)
Parameters
Type Name Description
string blogId

null

string postId

null

string commentId

null

Returns
Type Description
CommentsResource.GetRequest

List(string, string)

Lists comments.

Declaration
public virtual CommentsResource.ListRequest List(string blogId, string postId)
Parameters
Type Name Description
string blogId

null

string postId

null

Returns
Type Description
CommentsResource.ListRequest

ListByBlog(string)

Lists comments by blog.

Declaration
public virtual CommentsResource.ListByBlogRequest ListByBlog(string blogId)
Parameters
Type Name Description
string blogId

null

Returns
Type Description
CommentsResource.ListByBlogRequest

MarkAsSpam(string, string, string)

Marks a comment as spam by blog id, post id and comment id.

Declaration
public virtual CommentsResource.MarkAsSpamRequest MarkAsSpam(string blogId, string postId, string commentId)
Parameters
Type Name Description
string blogId

null

string postId

null

string commentId

null

Returns
Type Description
CommentsResource.MarkAsSpamRequest

RemoveContent(string, string, string)

Removes the content of a comment by blog id, post id and comment id.

Declaration
public virtual CommentsResource.RemoveContentRequest RemoveContent(string blogId, string postId, string commentId)
Parameters
Type Name Description
string blogId

null

string postId

null

string commentId

null

Returns
Type Description
CommentsResource.RemoveContentRequest
In this article
Back to top Generated by DocFX