Share via


Equality Operator

Returns a value indicating whether the first specified SiteTermElement is equal to the second specified SiteTermElement.

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

Syntax

'Declaration
Public Shared Operator = ( _
    o1 As SiteTermElement, _
    o2 As SiteTermElement _
) As Boolean
'Usage
Dim o1 As SiteTermElement
Dim o2 As SiteTermElement
Dim returnValue As Boolean

returnValue = (o1 = o2)
public static bool operator ==(
    SiteTermElement o1,
    SiteTermElement o2
)
public:
static bool operator ==(
    SiteTermElement^ o1, 
    SiteTermElement^ o2
)
JScript does not support overloaded operators.

Parameters

Return Value

Type: System..::.Boolean
true to indicate the SiteTermElement objects are equal; otherwise false.

Remarks

Determines whether the specified SiteTermElement objects are considered equal.

Permissions

See Also

Reference

SiteTermElement Class

SiteTermElement Members

Microsoft.CommerceServer.Runtime.Profiles Namespace