ForumViewerPostCount Method |
Returns number of posts in current forum or thread.
Namespace: CMS.Forums.Web.UIAssembly: CMS.Forums.Web.UI (in CMS.Forums.Web.UI.dll) Version: 12.0.0
Syntax 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:
Int32See Also