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