EmailTemplateHelperValidateEditableRegions Method |
Check validity of editable regions (correct and unique code names)
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 10.0.0
Syntax public static void ValidateEditableRegions(
string templateBody,
out bool uniqueRegions,
out bool correctNames,
List<string> regionNames
)
Parameters
- templateBody
- Type: SystemString
Template - uniqueRegions
- Type: SystemBoolean
Returns TRUE if unique region names have been used - correctNames
- Type: SystemBoolean
Returns TRUE if valid region code names have been used - regionNames
- Type: System.Collections.GenericListString
List of region names from template (optional)
See Also