Jaa


Equals Method

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

Returns a value indicating whether the specified payment method is the same as the payment method of the current instance.

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

Syntax

'Declaration
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'Usage
Dim instance As CashCardPayment
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 two instances are equal; otherwise, false.

Remarks

Indicates whether the CashCardPayment is equivalent to the specified obj payment method. If obj is nullNothingnullptra null reference (Nothing in Visual Basic), false is returned.

Permissions

See Also

Reference

CashCardPayment Class

CashCardPayment Members

Microsoft.CommerceServer.Runtime.Orders Namespace