DiscussionMacroResolverSetBBCode Method |
Sets enabled BBcode (for DB column with stored enabled actions).
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax 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:
Int32See Also