共用方式為


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

實作

適用於