Partager via


_AttachmentSelection.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 _AttachmentSelection
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 the 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

_AttachmentSelection Interface

_AttachmentSelection Members

Microsoft.Office.Interop.Outlook Namespace