ItemMetadata.ChangeVersion Property

When overridden in a derived class, gets or sets the version of the most recent change made to the item.

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

'Declaration
Public MustOverride Property ChangeVersion As SyncVersion
	Get
	Set
'Usage
Dim instance As ItemMetadata
Dim value As SyncVersion

value = instance.ChangeVersion

instance.ChangeVersion = value

Property Value

Type: Microsoft.Synchronization.SyncVersion
The version of the most recent change made to the item. Returns a Nothing when the change version has not been set.

ExceptionCondition
ArgumentNullException

An attempt was made to set the value to a Nothing.

The change version for an item contains the key for the replica that made the most recent change to the item and the tick count for that replica when the change was made.

Show: