UInt16.IEqualityOperators<UInt16,UInt16,Boolean>.Equality 运算符

定义

比较两个值以确定相等性。

 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_Equality;
static bool IEqualityOperators<ushort,ushort,bool>.operator == (ushort left, ushort right);
static member ( = ) : uint16 * uint16 -> bool
 Shared Operator == (left As UShort, right As UShort) As Boolean Implements IEqualityOperators(Of UShort, UShort, Boolean).op_Equality

参数

left
UInt16

要与 right进行比较的值。

right
UInt16

要与 left进行比较的值。

返回

如果 true 等于 left,则为 right;否则为 false

实现

适用于