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.158 -- Release Build+8af53c44e6ad1fac543a652d58b46c9843b74b64
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