共用方式為


Int16.IEqualityOperators<Int16,Int16,Boolean>.Equality 運算子

定義

比較兩個值以判斷相等。

 static bool System.Numerics.IEqualityOperators<System.Int16,System.Int16,System.Boolean>.operator ==(short left, short right) = System::Numerics::IEqualityOperators<short, short, bool>::op_Equality;
static bool IEqualityOperators<short,short,bool>.operator == (short left, short right);
static member ( = ) : int16 * int16 -> bool
 Shared Operator == (left As Short, right As Short) As Boolean Implements IEqualityOperators(Of Short, Short, Boolean).op_Equality

參數

left
Int16

要與 right 比較的值。

right
Int16

要與 left 比較的值。

傳回

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

實作

適用於