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: 8.2.23
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