共用方式為


GetHashCode Method

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

Returns the HashCode for the PaymentGroupId.

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

Syntax

'Declaration
Public Overrides Function GetHashCode As Integer
'Usage
Dim instance As PaymentMethod
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
The hash code for the PaymentGroupId.

Remarks

Serves as a hash function for the PaymentGroupId, suitable for use in hashing algorithms and data structures like a hash table.

Permissions

See Also

Reference

PaymentMethod Class

PaymentMethod Members

Microsoft.CommerceServer.Orders Namespace