# Vector2.Multiply Method

## Definition

Performs a multiplication operation on a vector.

## Overloads

 Multiply(Vector2, Vector2) Returns a new vector whose values are the product of each pair of elements in two specified vectors. Multiply(Vector2, Single) Multiplies a vector by a specified scalar. Multiply(Single, Vector2) Multiplies a scalar value by a specified vector.

## Multiply(Vector2, Vector2)

Returns a new vector whose values are the product of each pair of elements in two specified vectors.

``````public:
static System::Numerics::Vector2 Multiply(System::Numerics::Vector2 left, System::Numerics::Vector2 right);``````
``public static System.Numerics.Vector2 Multiply (System.Numerics.Vector2 left, System.Numerics.Vector2 right);``
``static member Multiply : System.Numerics.Vector2 * System.Numerics.Vector2 -> System.Numerics.Vector2``
``Public Shared Function Multiply (left As Vector2, right As Vector2) As Vector2``

#### Parameters

left
Vector2

The first vector.

right
Vector2

The second vector.

#### Returns

Vector2

The element-wise product vector.

## Multiply(Vector2, Single)

Multiplies a vector by a specified scalar.

``````public:
static System::Numerics::Vector2 Multiply(System::Numerics::Vector2 left, float right);``````
``public static System.Numerics.Vector2 Multiply (System.Numerics.Vector2 left, float right);``
``static member Multiply : System.Numerics.Vector2 * single -> System.Numerics.Vector2``
``Public Shared Function Multiply (left As Vector2, right As Single) As Vector2``

#### Parameters

left
Vector2

The vector to multiply.

right
Single

The scalar value.

#### Returns

Vector2

The scaled vector.

## Multiply(Single, Vector2)

Multiplies a scalar value by a specified vector.

``````public:
static System::Numerics::Vector2 Multiply(float left, System::Numerics::Vector2 right);``````
``public static System.Numerics.Vector2 Multiply (float left, System.Numerics.Vector2 right);``
``static member Multiply : single * System.Numerics.Vector2 -> System.Numerics.Vector2``
``Public Shared Function Multiply (left As Single, right As Vector2) As Vector2``

#### Parameters

left
Single

The scaled value.

right
Vector2

The vector.

#### Returns

Vector2

The scaled vector.