Gemstone Common Library
Show/Hide TOC

# MassEquals(Object) Method

Returns a value indicating whether this instance is equal to a specified object.

## Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.177 -- Release Build+17e3a8c30c12a6a5a57ad4af156d7b83be281c33
C#
View Source Request Example

    public override bool Equals(
    	Object obj
    )

VB
View Source Request Example

    Public Overrides Function Equals (
    	obj As Object
    ) As Boolean

C++
View Source Request Example

    public:
    virtual bool Equals(
    	Object^ obj
    ) override

JavaScript
View Source Request Example

    function Equals(obj);

#### Parameters

obj Object
  An object to compare, or null.

#### Return Value

Boolean
True if obj is an instance of Double or Mass and equals the value of this instance; otherwise, False.

## See Also

#### Reference

Mass Structure
Equals Overload
Gemstone.Units Namespace