SPEmailMessage.Attachments Property

Gets the collection of attachments in the e-mail message

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property Attachments As SPEmailAttachmentCollection
    Get
'Usage
Dim instance As SPEmailMessage
Dim value As SPEmailAttachmentCollection

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

Property Value

Type: Microsoft.SharePoint.Utilities.SPEmailAttachmentCollection
An SPEmailAttachmentCollection object that represents the collection of attachments.

See Also

Reference

SPEmailMessage Class

SPEmailMessage Members

Microsoft.SharePoint.Utilities Namespace