SetHasChanges Method

Sets a value indicating whether the object has unsaved changes.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Protected Friend Overridable Sub SetHasChanges ( _
    hasChanges As Boolean _
)
'Usage
Dim hasChanges As Boolean

Me.SetHasChanges(hasChanges)
protected internal virtual void SetHasChanges(
    bool hasChanges
)
protected public:
virtual void SetHasChanges(
    bool hasChanges
)
protected internal function SetHasChanges(
    hasChanges : boolean
)

Parameters

  • hasChanges
    Type: System..::.Boolean
    true to indicate that the object has unsaved changes; otherwise, false.

Remarks

Subtypes can set this to true when custom properties of the object are modified and, similarly, set this to false when changes are successfully saved to persistent storage.

Permissions

See Also

Reference

CampaignItem Class

CampaignItem Members

Microsoft.CommerceServer.Marketing Namespace