Share via


SPEmailAttachmentCollection Class

Represents the attachments in an e-mail message.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Utilities.SPEmailAttachmentCollection

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

Syntax

<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPEmailAttachmentCollection _
    Implements IEnumerable

Dim instance As SPEmailAttachmentCollection
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPEmailAttachmentCollection : IEnumerable

Remarks

The SPEmailAttachmentCollection object includes a GetEnumerator method, but does not include Item or Count properties normally associated with a collection object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPEmailAttachmentCollection Members

Microsoft.SharePoint.Utilities Namespace