Mime IteratorSkip Children Method
Skip the descendants of the current entity.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void SkipChildren()Remarks
Causes the next call to MoveNext to skip over the children of the current entity (if it is a Multipart) or the contained message (if it is a MessagePart) and advance to the next entity that is not a descendant of the current entity.
This has no effect if the current entity has no descendants. Calling MoveTo(String) or Reset cancels the request.
Exceptions
| InvalidOperationException | Either MoveNext has not been called or MoveNext has moved beyond the end of the message. |