Compartir a través de


FixedPoint.op_Subtraction Method

Subtracts two-fixed point numbers.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public Shared Operator - ( _
    valueLeft As FixedPoint, _
    valueRight As FixedPoint _
) As FixedPoint
'Usage
Dim valueLeft As FixedPoint
Dim valueRight As FixedPoint
Dim returnValue As FixedPoint

returnValue = (valueLeft - valueRight)
public static FixedPoint operator - (
    FixedPoint valueLeft,
    FixedPoint valueRight
)
public:
static FixedPoint operator - (
    FixedPoint valueLeft, 
    FixedPoint valueRight
)
Not applicable.

Parameters

  • valueLeft
    The value to subtract from.
  • valueRight
    The value to subtract.

Return Value

The difference between valueLeft and valueRight.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

FixedPoint Structure
FixedPoint Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace