EntityCollection.GetEnumerator Method
Returns an enumerator that can iterate through an entity collection.
Namespace: Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Function GetEnumerator As IEnumerator(Of Entity)
'Usage
Dim instance As EntityCollection
Dim returnValue As IEnumerator(Of Entity)
returnValue = instance.GetEnumerator()
public IEnumerator<Entity> GetEnumerator()
Return Value
Type: System.Collections.Generic.IEnumerator<Entity>
Returns an enumerator that can iterate through a collection.
Implements
IEnumerable<T>.GetEnumerator()
Remarks
An IEnumerator object that can be used to iterate through the entity collection.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.Administration Namespace