Share via


GetHashCode Method

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

Get the hash code of the current PromoCodeGenerationError object.

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

Syntax

'Declaration
Public Overrides Function GetHashCode As Integer
'Usage
Dim instance As PromoCodeGenerationError
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 of the current PromoCodeGenerationError.

Remarks

Provides a hash function that is appropriate for the PromoCodeGenerationError class Use this method to serve as a hash function for a particular type, suitable for use in hashing algorithms and data structures such as a hash table.

Permissions

See Also

Reference

PromoCodeGenerationError Structure

PromoCodeGenerationError Members

Microsoft.CommerceServer.Marketing Namespace