Equals Method
Returns a value that indicates whether the specified discount application record has the same discount ID as 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 DiscountApplicationRecordBase
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 DiscountApplicationRecordBase instance to compare against.
Return Value
Type: System..::.Boolean
true if the Discount records are equal; otherwise, false.
Remarks
Indicates whether the DiscountApplicationRecord is equivalent to the specified DiscountApplicationRecordBase.
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.
See Also
Reference
DiscountApplicationRecordBase Class