次の方法で共有


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)

Syntax

<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function GetEnumerator As IEnumerator

Dim instance As SPEmailAttachmentCollection
Dim returnValue As IEnumerator

returnValue = instance.GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public IEnumerator GetEnumerator()

Return Value

Type: System.Collections.IEnumerator

Implements

IEnumerable.GetEnumerator()

See Also

Reference

SPEmailAttachmentCollection Class

SPEmailAttachmentCollection Members

Microsoft.SharePoint.Utilities Namespace