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

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

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
includingTrackbacks
Type: SystemBoolean
Indicates if comments which are marked as trackbacks should be included in the count

Return Value

Type: Int32
See Also