Int16.IEqualityOperators<Int16,Int16,Boolean>.Equality 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
比較兩個值以判斷相等。
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
。