Udostępnij za pośrednictwem


ItemChange.AddChangeUnitChange Method

Adds a change unit change to this object.

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

Syntax

'Declaration
Public Sub AddChangeUnitChange ( _
    changeUnitChange As ChangeUnitChange _
)
'Usage
Dim instance As ItemChange
Dim changeUnitChange As ChangeUnitChange

instance.AddChangeUnitChange(changeUnitChange)
public void AddChangeUnitChange (
    ChangeUnitChange changeUnitChange
)
public:
void AddChangeUnitChange (
    ChangeUnitChange^ changeUnitChange
)
public void AddChangeUnitChange (
    ChangeUnitChange changeUnitChange
)
public function AddChangeUnitChange (
    changeUnitChange : ChangeUnitChange
)

Parameters

  • changeUnitChange
    The change unit change to add to this object.

Remarks

This method has the following side effects:

  • It sets ChangeVersion to a null reference (Nothing in Visual Basic).

  • It sets the ParentChange property of changeUnitChange to be this object.

If ChangeKind is set to Deleted when this method is called, InvalidOperationException is thrown.

See Also

Reference

ItemChange Class
ItemChange Members
Microsoft.Synchronization Namespace