ElementStop Method

Namespace: MailBee.Html
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public void Stop()
Remarks

You can call this method in ProcessElementDelegate method if want to stop processing of the document.

If Process(RuleSet, ProcessElementDelegate) or ProcessToString(RuleSet, ProcessElementDelegate) method is not being running, this method does nothing.

Note Note
You should call Stop method for the same object you earlier called Process(RuleSet, ProcessElementDelegate) or ProcessToString(RuleSet, ProcessElementDelegate) method for. If you call it for another object (such as the object which was passed as elem parameter to your delegate method), this will not have any effect.
See Also