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.174 -- Release Build+aa37ec1cbeacbf32d632bf098b6401a4346e3db1
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