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
- o1
Type: Microsoft.CommerceServer.Runtime.Profiles..::.SiteTermElement
The first SiteTermElement object to compare.
- o2
Type: Microsoft.CommerceServer.Runtime.Profiles..::.SiteTermElement
The second SiteTermElement object to compare.
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
- 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.