共用方式為


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

定義

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

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

參數

left
UInt16

要與 right 比較的值。

right
UInt16

要與 left 比較的值。

傳回

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

實作

適用於