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.156 -- Release Build+59006cef9614396d8b79971beebc1091829bcfe4
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