ForumPostInfoProvider.IncrementPostViews Method Kentico 8.1 API Reference
Increments the post views with the specified number.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

postId
Type: OnlineSystem.Int32
ID of the post the views of which are updated
viewCount
Type: OnlineSystem.Int32
Number of views which will be added
See Also