Share via


SPMimeMappingCollection.IEnumerable<SPMimeMapping>.GetEnumerator method

A collection of MIME mapping entries for files.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Private Function GetEnumerator As IEnumerator(Of SPMimeMapping)
    Implements IEnumerable(Of SPMimeMapping).GetEnumerator
'Usage
Dim instance As SPMimeMappingCollection
Dim returnValue As IEnumerator(Of SPMimeMapping)

returnValue = CType(instance, IEnumerable(Of SPMimeMapping)).GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
IEnumerator<SPMimeMapping> IEnumerable<SPMimeMapping>.GetEnumerator()

Return value

Type: System.Collections.Generic.IEnumerator<SPMimeMapping>
Returns IEnumerator<T>.

Implements

IEnumerable<T>.GetEnumerator()

See also

Reference

SPMimeMappingCollection class

SPMimeMappingCollection members

Microsoft.SharePoint.Administration namespace