HasChanges Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets a value indicating whether the DisplayableCampaignItem has unsaved changes.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property HasChanges As Boolean
'Usage
Dim instance As DisplayableCampaignItem
Dim value As Boolean
value = instance.HasChanges
public override bool HasChanges { get; }
public:
virtual property bool HasChanges {
bool get () override;
}
public override function get HasChanges () : boolean
Property Value
Type: System..::.Boolean
true if changes have occurred; otherwise, false.
Remarks
Returns a value indicating whether the DisplayableCampaignItem has unsaved changes.
When a DisplayableCampaignItem has been modified, a dirtyFlag is set, indicating that the DisplayableCampaignItem has changes and needs to be saved. Calling Save (The Save method is in the derived class) sets the HasChanges property to false.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.