ElementProcess Method |
Namespace: MailBee.Html
Exception | Condition |
---|---|
MailBeeInvalidArgumentException | rules is a null reference (Nothing in Visual Basic). |
This method alters the element during processing. To return the modified version while leaving the element contents intact, use ProcessToString(RuleSet, ProcessElementDelegate) method.
If you specified del delegate, Process(RuleSet, ProcessElementDelegate) method will execute it whenever any rule matches. It's also possible to define a rule which does nothing except calling the delegate. You can add such a rule using AddTagProcessingCondition(String, TagAttributeCollection) method.