public void Process( RuleSet rules, ProcessElementDelegate del )
Public Sub Process ( rules As RuleSet, del As ProcessElementDelegate )
|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, 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.