EmailHtmlModifier Constructor |
Constructor. If any errors occurred while parsing input
htmlCode, they will be stored in
ParsingErrors.
Namespace: CMS.Newsletters.InternalAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax public EmailHtmlModifier(
string htmlCode,
bool isFragment
)
Parameters
- htmlCode
- Type: SystemString
Input HTML code. - isFragment
- Type: SystemBoolean
Indicates if the input HTML code is just a fragment, not complete document.
Exceptions Exception | Condition |
---|
ArgumentException | Thrown when htmlCode is null or empty. |
See Also