다음을 통해 공유


GetHashCode Method

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

Returns a hash code based on the discount ID for the current instance.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Overrides Function GetHashCode As Integer
'Usage
Dim instance As DiscountApplicationRecordBase
Dim returnValue As Integer

returnValue = instance.GetHashCode()
public override int GetHashCode()
public:
virtual int GetHashCode() override
public override function GetHashCode() : int

Return Value

Type: System..::.Int32
A hash code calculated on the DiscountId.

Remarks

Returns a hash code based on the discount ID for the current instance.

Permissions

See Also

Reference

DiscountApplicationRecordBase Class

DiscountApplicationRecordBase Members

Microsoft.CommerceServer.Runtime.Orders Namespace