_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.ObjectEither 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.