Vector<T>.Inequality(Vector<T>, Vector<T>) 運算子

定義

傳回值,指出指定向量的任何一對元素是否相等。

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

參數

left
Vector<T>

要比較的第一個向量。

right
Vector<T>

要比較的第二個向量。

傳回

Boolean

如果 left 和 right 中的任何元素組相等,即為 true。 如果沒有元素組相等,為 false

例外狀況

.NET 5 和更新版本:不支援類型 T

適用於