Click or drag to resize
DiscussionMacroResolverIsBBCodeEnabled Method
Returns true if BBcode is enabled for given actions set (for DB column with stored enabled actions).

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static bool IsBBCodeEnabled(
	int enabledActions,
	DiscussionActionEnum action
)

Parameters

enabledActions
Type: SystemInt32
Set of enabled actions
action
Type: CMS.HelpersDiscussionActionEnum
Dsicussion action

Return Value

Type: Boolean
See Also