Share via


AttachmentCollection.Enumerator.Current property

The Current property gets the current element in the collection.

Namespace:  Microsoft.Exchange.Data.Transport.Email
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public ReadOnly Property Current As Attachment
    Get
'Usage
Dim instance As AttachmentCollection.Enumerator
Dim value As Attachment

value = instance.Current
public Attachment Current { get; }

Property value

Type: Microsoft.Exchange.Data.Transport.Email.Attachment
The Current method returns an instance of the Attachment class.

See also

Reference

AttachmentCollection.Enumerator structure

AttachmentCollection.Enumerator members

Microsoft.Exchange.Data.Transport.Email namespace