Click or drag to resize
BlogHelperGetCommentParentBlog Method
Returns parent blog of the specified comment.

Namespace: CMS.Blogs
Assembly: CMS.Blogs (in CMS.Blogs.dll) Version: 12.0.0
Syntax
C#
public static TreeNode GetCommentParentBlog(
	int commentId,
	bool selectOnlyPublished
)

Parameters

commentId
Type: SystemInt32
Comment id
selectOnlyPublished
Type: SystemBoolean
Select only published

Return Value

Type: TreeNode
See Also