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
<FlagsAttribute> _
Public Enumeration SubtreeEnumerationOptions As Byte
[FlagsAttribute] 
public enum SubtreeEnumerationOptions : byte
[FlagsAttribute] 
public enum class SubtreeEnumerationOptions : unsigned char
/** @attribute FlagsAttribute() */ 
public enum 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.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003