EntityReferenceCollection.GetEnumerator method
Creates an enumerator to iterate through this collection.
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetEnumerator As IEnumerator(Of EntityReference)
'Usage
Dim instance As EntityReferenceCollection
Dim returnValue As IEnumerator(Of EntityReference)
returnValue = instance.GetEnumerator()
public IEnumerator<EntityReference> GetEnumerator()
Return value
Type: System.Collections.Generic.IEnumerator<EntityReference>
An enumerator to iterate through this collection.
Remarks
Every time an enumerator is requested, this collection will be refreshed from the metadata store.
See also
Reference
EntityReferenceCollection class