Share via


SPEmailAttachmentCollection.GetEnumerator Method

Returns an enumerator to iterate through the attachments in an e-mail message.

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

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator
'Usage
Dim instance As SPEmailAttachmentCollection
Dim returnValue As IEnumerator

returnValue = instance.GetEnumerator()
public IEnumerator GetEnumerator()

Return Value

Type: System.Collections.IEnumerator

Implements

IEnumerable.GetEnumerator()

See Also

Reference

SPEmailAttachmentCollection Class

SPEmailAttachmentCollection Members

Microsoft.SharePoint.Utilities Namespace