SPEmailMessage.Attachments property

Gets the collection of attachments in the e-mail message

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

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