AttachmentSelection Members
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

AttachmentSelection Members

Contains a set of Attachment objects that represent the selected attachments in an Outlook item.

The AttachmentSelection type exposes the following members.

  Name Description
Public property Application Returns an Application object that represents the parent Outlook application for the object. Read-only. (Inherited from _AttachmentSelection.)
Public property Class Returns an OlObjectClass constant indicating the object's class. Read-only. (Inherited from _AttachmentSelection.)
Public property Count Returns an Integer (int in C#) value indicating the count of objects in the specified collection. Read-only. (Inherited from _AttachmentSelection.)
Public property Item Returns an Attachment object from the collection. (Inherited from _AttachmentSelection.)
Public property Location Returns a OlSelectionLocation constant that specifies where the attachment selection is in the Microsoft Outlook user interface. Read-only. (Inherited from _AttachmentSelection.)
Public property Parent Returns the parent Object of the specified object. Read-only. (Inherited from _AttachmentSelection.)
Public property Session Returns the NameSpace object for the current session. Read-only. (Inherited from _AttachmentSelection.)

  Name Description
Public method GetSelection Returns a Selection object that contains the kind of objects specified by the SelectionContents parameter, and that are currently selected in the active explorer where the parent item of the AttachmentSelection object is. (Inherited from _AttachmentSelection.)
© 2016 Microsoft