Class ChangeCollection<TChange>
- Namespace
- Microsoft.Exchange.WebServices.Data
- Assembly
- Microsoft.Exchange.WebServices.dll
Represents a collection of changes as returned by a synchronization operation.
public sealed class ChangeCollection<TChange> : IEnumerable<TChange>, IEnumerable where TChange : Change
Type Parameters
TChange
Type representing the type of change (e.g. FolderChange or ItemChange)
- Inheritance
-
ChangeCollection<TChange>
- Implements
-
IEnumerable<TChange>
- Inherited Members
Properties
Count
Gets the number of changes in the collection.
public int Count { get; }
Property Value
this[int]
Gets an individual change from the change collection.
public TChange this[int index] { get; }
Parameters
index
intZero-based index.
Property Value
- TChange
An single change.
MoreChangesAvailable
Gets a value indicating whether the there are more changes to be synchronized from the server.
public bool MoreChangesAvailable { get; }
Property Value
SyncState
Gets the SyncState blob returned by a synchronization operation.
public string SyncState { get; }
Property Value
Methods
GetEnumerator()
Gets an enumerator that iterates through the elements of the collection.
public IEnumerator<TChange> GetEnumerator()
Returns
- IEnumerator<TChange>
An IEnumerator for the collection.