Vector<T>.Inequality(Vector<T>, Vector<T>) 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個值,表示指定向量中任一元素對是否不相等。
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
static member op_Inequality : System.Numerics.Vector<'T> * System.Numerics.Vector<'T> -> bool
Public Shared Operator != (left As Vector(Of T), right As Vector(Of T)) As Boolean
參數
- left
- Vector<T>
要比較的第一個向量。
- right
- Vector<T>
要比較的第二個向量。
傳回
true 若左與右中任何元素對不相等。
false 若所有元素對相等。
例外狀況
.NET 5 及以後版本:不支援型別 T 。