共用方式為


SPEmailMessage.Attachments property

取得電子郵件訊息中的附件集合

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property Attachments As SPEmailAttachmentCollection
    Get
'用途
Dim instance As SPEmailMessage
Dim value As SPEmailAttachmentCollection

value = instance.Attachments
public SPEmailAttachmentCollection Attachments { get; }

Property value

Type: Microsoft.SharePoint.Utilities.SPEmailAttachmentCollection
SPEmailAttachmentCollection 物件,表示附件集合。

請參閱

參照

SPEmailMessage class

SPEmailMessage members

Microsoft.SharePoint.Utilities namespace