Share via


ItemChange Constructor (SyncIdFormatGroup, SyncId, SyncId, ChangeKind, SyncVersion, Generic IEnumerable)

Initializes a new instance of the ItemChange class that contains the specified ID format schema, replica ID, item ID, change kind, creation version, and change unit collection.

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

Syntax

'Declaration
Public Sub New ( _
    idFormats As SyncIdFormatGroup, _
    replicaId As SyncId, _
    itemId As SyncId, _
    changeKind As ChangeKind, _
    creationVersion As SyncVersion, _
    changeUnitChanges As IEnumerable(Of ChangeUnitChange) _
)
'Usage
Dim idFormats As SyncIdFormatGroup
Dim replicaId As SyncId
Dim itemId As SyncId
Dim changeKind As ChangeKind
Dim creationVersion As SyncVersion
Dim changeUnitChanges As IEnumerable(Of ChangeUnitChange)

Dim instance As New ItemChange(idFormats, replicaId, itemId, changeKind, creationVersion, changeUnitChanges)
public ItemChange (
    SyncIdFormatGroup idFormats,
    SyncId replicaId,
    SyncId itemId,
    ChangeKind changeKind,
    SyncVersion creationVersion,
    IEnumerable<ChangeUnitChange> changeUnitChanges
)
public:
ItemChange (
    SyncIdFormatGroup^ idFormats, 
    SyncId^ replicaId, 
    SyncId^ itemId, 
    ChangeKind changeKind, 
    SyncVersion^ creationVersion, 
    IEnumerable<ChangeUnitChange^>^ changeUnitChanges
)
public ItemChange (
    SyncIdFormatGroup idFormats, 
    SyncId replicaId, 
    SyncId itemId, 
    ChangeKind changeKind, 
    SyncVersion creationVersion, 
    IEnumerable<ChangeUnitChange> changeUnitChanges
)
public function ItemChange (
    idFormats : SyncIdFormatGroup, 
    replicaId : SyncId, 
    itemId : SyncId, 
    changeKind : ChangeKind, 
    creationVersion : SyncVersion, 
    changeUnitChanges : IEnumerable<ChangeUnitChange>
)

Parameters

  • idFormats
    The ID format schema of the provider.
  • replicaId
    The ID of the replica that originated this change.
  • itemId
    The ID of the item that was changed.
  • changeKind
    The type of change that was made to the item.
  • creationVersion
    The creation version of the item.
  • changeUnitChanges
    The collection of changes to change units that are contained in the item.

Remarks

See Also

Reference

ItemChange Class
ItemChange Members
Microsoft.Synchronization Namespace