次の方法で共有


AttachmentSelection Members

Include Protected Members
Include Inherited Members

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

The AttachmentSelection type exposes the following members.

Properties

  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.)

Top

Methods

  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.)

Top

See Also

Reference

AttachmentSelection Interface

Microsoft.Office.Interop.Outlook Namespace