Click or drag to resize
BlogTransformationFunctionsGetBlogCommentsCount Method (Object, Object, Boolean)
Returns number of comments of given blog.

Namespace: CMS.Blogs
Assembly: CMS.Blogs (in CMS.Blogs.dll) Version: 8.2.23
Syntax
C#
public static int GetBlogCommentsCount(
	Object postId,
	Object postAliasPath,
	bool includingTrackbacks
)

Parameters

postId
Type: SystemObject
Post document id
postAliasPath
Type: SystemObject
Post alias path
includingTrackbacks
Type: SystemBoolean
Indicates if trackback comments should be included

Return Value

Type: Int32
See Also