Outlook) (AttachmentSelection.GetSelection 方法
會傳回 Selection 物件,其中包含 SelectionContents 參數所指定的物件類型,而且目前在 AttachmentSelection 物件的父專案所在的使用中總管中選取的物件種類。
語法
expression。 GetSelection
( _SelectionContents_
)
表達 代表 AttachmentSelection 物件的 變數。
參數
名稱 | 必要/選用 | 資料類型 | 描述 |
---|---|---|---|
SelectionContents | 必要 | OlSelectionContents | 指定選取範圍中要傳回的物件種類。 |
傳回值
包含在使用中檔案總管中所選取之指定種類的 Selection 物件。
註解
此方法在 AttachmentSelection 物件上公開的唯一理由,是因為 AttachmentSelection 繼承自 Selection 物件。 此方法並不是用來 AttachmentSelection 物件上進行呼叫。
另請參閱
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。