Attachment.Index Property

Returns an Integer (int in C#) value indicating the position of the object within the collection. Read-only.

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

int Index { get; }

Property Value

Type: System.Int32

The Index property is only valid during the current session and can change as objects are added to and deleted from the collection. The first object in the collection has an Index value of 1.