Gemstone Common Library
Show/Hide TOC

# VoltageEquals(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.154 -- Release Build+24a4f4795f9fb8aaeeb777ef1e3e0158effe5bad
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 Voltage and equals the value of this instance; otherwise, False.

## See Also

#### Reference

Voltage Structure
Equals Overload
Gemstone.Units Namespace