Share via


ChangeBatchBase.GetEnumerator Method

Gets an object that enumerates the item changes in this change batch. This method cannot be inherited.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of ItemChange)
'Usage
Dim instance As ChangeBatchBase
Dim returnValue As IEnumerator(Of ItemChange)

returnValue = instance.GetEnumerator()
public IEnumerator<ItemChange> GetEnumerator()
public:
virtual IEnumerator<ItemChange^>^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator<ItemChange> 
override GetEnumerator : unit -> IEnumerator<ItemChange> 
public final function GetEnumerator() : IEnumerator<ItemChange>

Return Value

Type: System.Collections.Generic.IEnumerator<ItemChange>
An object that enumerates the item changes in this change batch.

Implements

IEnumerable<T>.GetEnumerator()

Exceptions

Exception Condition
ObjectDisposedException

This ChangeBatchBase has been disposed.

See Also

Reference

ChangeBatchBase Class

Microsoft.Synchronization Namespace