Subtracts two Price objects

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
public static Price operator -(
	Price p1,
	Price p2
)
Visual Basic
Public Shared Operator - ( 
	p1 As Price,
	p2 As Price
) As Price
Visual C++
public:
static Price^ operator -(
	Price^ p1, 
	Price^ p2
)
F#
static let inline (-)
        p1 : Price * 
        p2 : Price  : Price

Parameters

p1
Type: RightEdge.Common..::..Price
A price
p2
Type: RightEdge.Common..::..Price
A price

Return Value

Type: Price
The difference of the two prices

See Also