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.164 -- Release Build+6bbd7ea5ff4ad8917f12d693358b77d083ee278e
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