共用方式為


AttachmentSelection Object (Outlook)

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

Version Information

Version Added: Outlook 2007

Remarks

The AttachmentSelection object contains a read-only collection of attachments that are selected in an item that is in the active inspector or the active explorer.

To customize the attachment shortcut menu by using Microsoft Office Fluent ribbon extensibility, use the Context property of the IRibbonControl to obtain an AttachmentSelection object.

See Also

Concepts

AttachmentSelection Object Members

Outlook Object Model Reference