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: 10.0.0
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