Equals Method
Returns a value indicating whether the current SiteTermElement object is the same as the specified object.
Namespace: Microsoft.CommerceServer.Runtime.Profiles
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
'Usage
Dim instance As SiteTermElement
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 object to compare with the current SiteTermElement.
Return Value
Type: System..::.Boolean
true if the object is equal to the current SiteTermElement; otherwise, false.
Remarks
Use this method to determine whether two Object instances are equal. The Object's Name, CultureInfo, and Value are compared. If the SiteTermElement or the obj is nullNothingnullptra null reference (Nothing in Visual Basic), false is returned.
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.