Share via


ItemMetadata.CreationVersion Property

When overridden in a derived class, gets or sets the creation version for the item.

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

Syntax

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

value = instance.CreationVersion

instance.CreationVersion = value
public abstract SyncVersion CreationVersion { get; set; }
public:
virtual property SyncVersion^ CreationVersion {
    SyncVersion^ get () abstract;
    void set (SyncVersion^ value) abstract;
}
abstract CreationVersion : SyncVersion with get, set
abstract function get CreationVersion () : SyncVersion
abstract function set CreationVersion (value : SyncVersion)

Property Value

Type: Microsoft.Synchronization.SyncVersion
The creation version for the item.

Exceptions

Exception Condition
ArgumentNullException

An attempt was made to set the value to a null reference (Nothing in Visual Basic).

Remarks

The creation version contains the key for the replica that created the item and the tick count at that replica when the item was created in the item store.

See Also

Reference

ItemMetadata Class

Microsoft.Synchronization.MetadataStorage Namespace