Click or drag to resize
ForumPostInfoProviderIncrementPostViews Method
Increments the post views with the specified number.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 8.2.23
Syntax
C#
public static void IncrementPostViews(
	int postId,
	int viewCount
)

Parameters

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