Click or drag to resize
DiscussionMacroResolverSetBBCode Method
Sets enabled BBcode (for DB column with stored enabled actions).

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static int SetBBCode(
	int currentActions,
	DiscussionActionEnum action,
	bool enable
)

Parameters

currentActions
Type: SystemInt32
Current enabled actions
action
Type: CMS.HelpersDiscussionActionEnum
Discussion action to enable
enable
Type: SystemBoolean
Indicates if the BBcode should be allowed

Return Value

Type: Int32
See Also