Share via


MimePart.SubtreeEnumerationOptions enumeration

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

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

Syntax

'Declaration
Public Enumeration SubtreeEnumerationOptions
'Usage
Dim instance As MimePart.SubtreeEnumerationOptions
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.

See also

Reference

Microsoft.Exchange.Data.Mime namespace