共用方式為


Equals Method

Returns a value that indicates whether the specified order form has the same order group identifier and order form identifier 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 OrderForm
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 specified OrderForm has the same OrderGroupId and OrderFormId; otherwise false.

Remarks

Indicates whether the specified order form is equivalent to the OrderForm.

true if obj is equivalent to this instance; otherwise, false.

Permissions

See Also

Reference

OrderForm Class

OrderForm Members

Microsoft.CommerceServer.Runtime.Orders Namespace