Gemstone Common Library
Show/Hide TOC

# LengthEquals(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.156 -- Release Build+59006cef9614396d8b79971beebc1091829bcfe4
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 Length and equals the value of this instance; otherwise, False.

## See Also

#### Reference

Length Structure
Equals Overload
Gemstone.Units Namespace