Edit

Share via


Vector128<T>.Equality(Vector128<T>, Vector128<T>) Operator

Definition

Compares two vectors to determine if all elements are equal.

public:
 static bool operator ==(System::Runtime::Intrinsics::Vector128<T> left, System::Runtime::Intrinsics::Vector128<T> right);
public static bool operator == (System.Runtime.Intrinsics.Vector128<T> left, System.Runtime.Intrinsics.Vector128<T> right);
static member ( = ) : System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> * System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> -> bool
static member ( = ) : System.Runtime.Intrinsics.Vector128<'T> * System.Runtime.Intrinsics.Vector128<'T> -> bool
Public Shared Operator == (left As Vector128(Of T), right As Vector128(Of T)) As Boolean

Parameters

left
Vector128<T>

The vector to compare with right.

right
Vector128<T>

The vector to compare with left.

Returns

true if all elements in left were equal to the corresponding element in right.

Exceptions

The type of the vector (T) is not supported.

Applies to