Dela via


AttachmentCollection.Enumerator Structure

The AttachmentCollection.Enumerator structure provides properties and methods that enable the enumeration of an instance of the AttachmentCollection class.

Namespace: Microsoft.Exchange.Data.Transport.Email
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

Syntax

'Declaration
Public Structure Enumerator
    Implements IEnumerator(Of Attachment), IDisposable, _
    IEnumerator
public struct Enumerator : IEnumerator<Attachment>, IDisposable, 
    IEnumerator
public value class Enumerator : IEnumerator<Attachment^>, IDisposable, 
    IEnumerator
public final class Enumerator extends ValueType implements IEnumerator<Attachment>, 
    IDisposable, IEnumerator
JScript suports the use of structures, but not the declaration of new ones.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

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

Target Platforms

Windows Server 2003