SPAttachmentCollection.GetEnumerator Method
Returns an enumerator to iterate through the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Function GetEnumerator As IEnumerator
'Usage
Dim instance As SPAttachmentCollection
Dim returnValue As IEnumerator
returnValue = instance.GetEnumerator()
public IEnumerator GetEnumerator()
Return Value
Type: System.Collections.IEnumerator
A System.Collections.IEnumerator interface.