Gemstone Common Library
Show/Hide TOC

# VoltageSubtraction Operator

Returns computed difference of values.

## Definition

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

    public static Voltage operator -(
    	Voltage value1,
    	Voltage value2
    )

VB
View Source Request Example

    Public Shared Operator - (
    	value1 As Voltage,
    	value2 As Voltage
    ) As Voltage

C++
View Source Request Example

    public:
    static Voltage operator -(
    	Voltage value1,
    	Voltage value2
    )

JavaScript
View Source Request Example

    JavaScript does not support overloaded operators.

#### Parameters

value1 Voltage
  A Voltage object as the left hand operand.
value2 Voltage
  A Voltage object as the right hand operand.

#### Return Value

Voltage
A Voltage as the result.

## See Also

#### Reference

Voltage Structure
Gemstone.Units Namespace