MimePart.PartSubtree.GetEnumerator method (MimePart.SubtreeEnumerationOptions)
The GetEnumerator method returns an enumerator that can be used to iterate over the contents of this MimePart.PartSubtree structure.
Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Function GetEnumerator ( _
options As MimePart.SubtreeEnumerationOptions _
) As MimePart.SubtreeEnumerator
'Usage
Dim instance As MimePart.PartSubtree
Dim options As MimePart.SubtreeEnumerationOptions
Dim returnValue As MimePart.SubtreeEnumerator
returnValue = instance.GetEnumerator(options)
public MimePart.SubtreeEnumerator GetEnumerator(
MimePart.SubtreeEnumerationOptions options
)
Parameters
options
Type: Microsoft.Exchange.Data.Mime.MimePart.SubtreeEnumerationOptionsA MimePart.SubtreeEnumerationOptions enumeration value that controls what the returned MimePart.SubtreeEnumerator enumerates.
Return value
Type: Microsoft.Exchange.Data.Mime.MimePart.SubtreeEnumerator