Bewerken

Share via


Vector2.Inequality(Vector2, Vector2) Operator

Definition

Returns a value that indicates whether two specified vectors are not equal.

public:
 static bool operator !=(System::Numerics::Vector2 left, System::Numerics::Vector2 right);
public static bool operator != (System.Numerics.Vector2 left, System.Numerics.Vector2 right);
static member op_Inequality : System.Numerics.Vector2 * System.Numerics.Vector2 -> bool
Public Shared Operator != (left As Vector2, right As Vector2) As Boolean

Parameters

left
Vector2

The first vector to compare.

right
Vector2

The second vector to compare.

Returns

true if left and right are not equal; otherwise, false.

Applies to