Click or drag to resize
BlogCommentInfoProviderGetPostCommentsCountInternal Method
Returns count of the post comments.

Namespace: CMS.Blogs
Assembly: CMS.Blogs (in CMS.Blogs.dll) Version: 9.0.0
Syntax
C#
protected virtual int GetPostCommentsCountInternal(
	int postDocumentId,
	bool onlyApproved,
	bool includingSpam
)

Parameters

postDocumentId
Type: SystemInt32
Post document ID
onlyApproved
Type: SystemBoolean
Indicates if only approved comments should be included in the count
includingSpam
Type: SystemBoolean
Indicates if comments which are marked as SPAM should be included in the count

Return Value

Type: Int32
See Also