Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Checks if the object passed is a PaymentMethod and the unique identifier is equal to the PaymentGroupId of the current instance.
Namespace: Microsoft.CommerceServer.Orders
Assembly: Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)
Syntax
'Declaration
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
'Usage
Dim instance As PaymentMethod
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
- obj
Type: System..::.Object
The object passed to check to see if it is a PaymentMethod.
Return Value
Type: System..::.Boolean
true if the unique identifier for the obj and the PaymentMethod are the same; otherwise false.
Remarks
Returns true if the object passed is a PaymentMethod and the unique identifier is equal to the PaymentGroupId of the current instance.
If obj is nullNothingnullptra null reference (Nothing in Visual Basic), false is returned.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.