次の方法で共有


AttachmentSelection Members (Outlook)

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

Methods

Name

Description

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.

Item

Returns an Attachment object from the collection.

Properties

Name

Description

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

Count

Returns a Long indicating the count of objects in the specified collection. Read-only.

Location

Returns a OlSelectionLocation constant that specifies where the attachment selection is in the Microsoft Outlook user interface. Read-only

Parent

Returns the parent Object of the specified object. Read-only.

Session

Returns the NameSpace object for the current session. Read-only.