Share via


AttachmentCollection.Item property

The Item property gets or sets the element in the specified index in the collection.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Attachment
    Get
'Usage
Dim instance As AttachmentCollection
Dim index As Integer
Dim value As Attachment

value = instance(index)
public Attachment this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32

    The zero-based index of the element in the collection to get or set.

Property value

Type: Microsoft.Exchange.Data.Transport.Email.Attachment

See also

Reference

AttachmentCollection class

AttachmentCollection members

Microsoft.Exchange.Data.Transport.Email namespace