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
'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;
}
/** @property */
public abstract SyncVersion get_CreationVersion ()
/** @property */
public abstract void set_CreationVersion (SyncVersion value)
public abstract function get CreationVersion () : SyncVersion
public abstract function set CreationVersion (value : SyncVersion)
Property Value
The creation version for the item.
Exceptions
Exception type | Condition |
---|---|
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
ItemMetadata Members
Microsoft.Synchronization.MetadataStorage Namespace