ForumViewerPostCount Method |
Returns number of posts in current forum or thread.
Namespace: CMS.ForumsAssembly: CMS.Forums (in CMS.Forums.dll) Version: 9.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