共用方式為


Int32.IEqualityOperators<Int32,Int32,Boolean>.Inequality 運算子

定義

比較兩個值以判斷不相等。

 static bool System.Numerics.IEqualityOperators<System.Int32,System.Int32,System.Boolean>.operator !=(int left, int right) = System::Numerics::IEqualityOperators<int, int, bool>::op_Inequality;
static bool IEqualityOperators<int,int,bool>.operator != (int left, int right);
static member System.Numerics.IEqualityOperators<System.Int32,System.Int32,System.Boolean>.op_Inequality : int * int -> bool
 Shared Operator != (left As Integer, right As Integer) As Boolean Implements IEqualityOperators(Of Integer, Integer, Boolean).op_Inequality

參數

left
Int32

要與 right 比較的值。

right
Int32

要與 left 比較的值。

傳回

如果 true 不等於 left,則為 right,否則為 false

實作

適用於