FrontAndBackClippingEquals Method
|
Checks objects for equality.
Namespace: Teigha.GraphicsInterface
Assembly: TD_Mgd (in TD_Mgd.dll) Version:
24.2.0.0
Syntax
public override sealed bool Equals(
Object obj
)
Public Overrides NotOverridable Function Equals (
obj As Object
) As Boolean
public:
virtual bool Equals(
Object^ obj
) override sealed
abstract Equals :
obj : Object -> bool
override Equals :
obj : Object -> bool
Parameters
- obj Object
- [in] Object to be checked for equality.
Return Value
Boolean
true if the objects are equal,
false otherwise.
Remarks
For Equals and GetHashCode
methods, an override should be completed together to match the
logic; if Equals returns true, hashcodes should be the same; the same
hashcodes do not always mean that objects are the same because of
collisions; hashcodes should be formed on fields on which equality
is based; sometimes the Equals method is
taken from the object, but since pointers are compared, you still
can use GetHashCode from here, while
Equals can be overridden in the derived
class.
See Also