MimePart.SubtreeEnumerationOptions Enumeration

The MimePart.SubtreeEnumerationOptions enumeration controls how a MimeDocument object walks its MimeNode tree.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.Exchange.Data.Mime
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration SubtreeEnumerationOptions
'Usage
Dim instance As MimePart.SubtreeEnumerationOptions
[FlagsAttribute]
public enum SubtreeEnumerationOptions

Members

Member name Description
IncludeEmbeddedMessages Include parts from embedded message content subtrees.
RevisitParent All non-empty multipart or message nodes are visited both before and after its children have been visited. This allows you to do any work required to close a multipart or message node.

Remarks

When RevisitParent is set, the FirstVisit and LastVisit properties distinguish between the first and last visits to a node. Leaf nodes or empty compound nodes having no children are visited once and the FirstVisit and LastVisit properties will both return true if called during that visit.