Vector4.Equality(Vector4, Vector4) Operator

Definition

Returns a value that indicates whether each pair of elements in two specified vectors is equal.

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

Parameters

left
Vector4

The first vector to compare.

right
Vector4

The second vector to compare.

Returns

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

Remarks

Two Vector4 objects are equal if each element in left is equal to the corresponding element in right.

Applies to