BlogCommentInfoProviderGetPostCommentsCountInternal Method |
Returns count of the post comments.
Namespace: CMS.BlogsAssembly: CMS.Blogs (in CMS.Blogs.dll) Version: 12.0.0
Syntax 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:
Int32See Also