Returns count of the post comments.
Namespace: CMS.BlogsAssembly: CMS.Blogs (in CMS.Blogs.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- postDocumentId
- Type: System Int32
Post documentID
- onlyApproved
- Type: System Boolean
Indicates if only approved comments should be included in the count
- includingSpam (Optional)
- Type: System Boolean
Indicates if comments which are marked as SPAM should be included in the count
- includingTrackbacks (Optional)
- Type: System Boolean
Indicates if comments which are marked as trackbacks should be included in the count
Return Value
Type: Int32See Also