Click or drag to resize
ForumViewerPostCount Method
Returns number of posts in current forum or thread.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 9.0.0
Syntax
C#
public int PostCount(
	Object data,
	bool thread
)

Parameters

data
Type: SystemObject
Container.DataItem
thread
Type: SystemBoolean
If is true, returns number of posts for current thread, otherwise returns number of posts for current forum

Return Value

Type: Int32
See Also