SPObjectModelTypeCollection.IEnumerable<SPObjectModelType>.GetEnumerator-Methode
Ruft den Typ der Auflistung Enumerator ab.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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()
Rückgabewert
Typ: System.Collections.Generic.IEnumerator<SPObjectModelType>
Ein IEnumerator<T> -Objekt. Interner Befehl ist: return Types.Values.GetEnumerator();.
Implementiert
IEnumerable<T>.GetEnumerator()
Siehe auch
Referenz
SPObjectModelTypeCollection Klasse