Share via


SPObjectModelTypeCollection.IEnumerable.GetEnumerator method

Retrieves the collection enumerator type.

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

Syntax

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

returnValue = CType(instance, IEnumerable).GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
IEnumeratorIEnumerable.GetEnumerator()

Return value

Type: System.Collections.IEnumerator
A [System.Collections.IEnumerator] object.

Implements

IEnumerable.GetEnumerator()

See also

Reference

SPObjectModelTypeCollection class

SPObjectModelTypeCollection members

Microsoft.SharePoint.Administration namespace