共用方式為


Int16.IBitwiseOperators<Int16,Int16,Int16>.BitwiseOr 運算子

定義

計算兩個值的位或 。

 static short System.Numerics.IBitwiseOperators<System.Int16,System.Int16,System.Int16>.operator |(short left, short right) = System::Numerics::IBitwiseOperators<short, short, short>::op_BitwiseOr;
static short IBitwiseOperators<short,short,short>.operator | (short left, short right);
static member ( ||| ) : int16 * int16 -> int16
 Shared Operator Or (left As Short, right As Short) As Short Implements IBitwiseOperators(Of Short, Short, Short).op_BitwiseOr

參數

left
Int16

使用 right 的值 or

right
Int16

使用 left 的值 or

傳回

和 的位或 leftright

實作

適用於