Share via


Equals Method

Returns a value indicating whether the current PromoCodeGenerationError object is the same as the specified object.

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

Syntax

'Declaration
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'Usage
Dim instance As PromoCodeGenerationError
Dim obj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(obj)
public override bool Equals(
    Object obj
)
public:
virtual bool Equals(
    Object^ obj
) override
public override function Equals(
    obj : Object
) : boolean

Parameters

Return Value

Type: System..::.Boolean
true if the current instance is the same as the given object; otherwise false.

Remarks

Used to indicate if two objects are the same. If the PromoCodeGenerationError or the obj is nullNothingnullptra null reference (Nothing in Visual Basic), false is returned.

Permissions

See Also

Reference

PromoCodeGenerationError Structure

PromoCodeGenerationError Members

Microsoft.CommerceServer.Marketing Namespace