SPObjectModelTypeCollection.IEnumerable<SPObjectModelType>.GetEnumerator Method
Retrieves the collection enumerator type.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Private Function GetEnumerator As IEnumerator(Of SPObjectModelType)
Implements IEnumerable(Of SPObjectModelType).GetEnumerator
'Usage
Dim instance As SPObjectModelTypeCollection
Dim returnValue As IEnumerator(Of SPObjectModelType)
returnValue = CType(instance, IEnumerable(Of SPObjectModelType)).GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
IEnumerator<SPObjectModelType> IEnumerable<SPObjectModelType>.GetEnumerator()
Return Value
Type: System.Collections.Generic.IEnumerator<SPObjectModelType>
A IEnumerator<T> object. Internal command is: return Types.Values.GetEnumerator();.
Implements
IEnumerable<T>.GetEnumerator()
See Also
Reference
SPObjectModelTypeCollection Class