Partager via


Attachments.Item Property

Returns an Attachment object from the collection.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Default Property Item ( _
    Index As Object _
) As Attachment
    Get
'Usage
Dim instance As Attachments
Dim Index As Object
Dim value As Attachment

value = instance(Index)
[DispIdAttribute()]
Attachment this[
    Object Index
] { get; }

Parameters

  • Index
    Type: System.Object

    Either the index number of the object, or a value used to match the default property of an object in the collection.

Property Value

Type: Microsoft.Office.Interop.Outlook.Attachment
An Attachment object that represents the specified object.

See Also

Reference

Attachments Interface

Attachments Members

Microsoft.Office.Interop.Outlook Namespace