Delen via


HasChanges Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets a value indicating whether the discount 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 Discount
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 Discount has unsaved changes.

If any of the local expression has changed its value, then this discount object is dirty and the HasChanges flag is set to false.

Permissions

See Also

Reference

Discount Class

Discount Members

Microsoft.CommerceServer.Marketing Namespace