Share via


Vector2.Subtract Method (Vector2)

Subtracts the specified 2-D vector from the current 2-D vector.

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

Syntax

'Declaration
Public Sub Subtract ( _
    source As Vector2 _
)
'Usage
Dim instance As Vector2
Dim source As Vector2

instance.Subtract(source)
public void Subtract (
    Vector2 source
)
public:
void Subtract (
    Vector2 source
)
public void Subtract (
    Vector2 source
)
public function Subtract (
    source : Vector2
)
Not applicable.

Parameters

  • source
    The Vector2 structure to subtract from the current vector.

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

Vector2 Structure
Vector2 Members
Microsoft.WindowsMobile.DirectX Namespace