다음을 통해 공유


Equals Method

Returns a value indicating whether the specified shipment has the same shipment ID, tracking number, and order form, as the current shipment 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 Shipment
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 Shipment matches; otherwise, false.

Remarks

Use this method to determine if the specified shipment record has the same shipment value as the current instance. The comparison is case-insensitive. If obj is nullNothingnullptra null reference (Nothing in Visual Basic), false is returned.

Permissions

See Also

Reference

Shipment Class

Shipment Members

Microsoft.CommerceServer.Runtime.Orders Namespace