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

实现

适用于