SqlInt16.BitwiseOr(SqlInt16, SqlInt16) 运算符

定义

对其两个 SqlInt16 操作数执行按位“或”计算。Computes the bitwise OR of its two SqlInt16 operands.

public:
 static System::Data::SqlTypes::SqlInt16 operator |(System::Data::SqlTypes::SqlInt16 x, System::Data::SqlTypes::SqlInt16 y);
public static System.Data.SqlTypes.SqlInt16 operator | (System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y);
static member ( ||| ) : System.Data.SqlTypes.SqlInt16 * System.Data.SqlTypes.SqlInt16 -> System.Data.SqlTypes.SqlInt16
Public Shared Operator Or (x As SqlInt16, y As SqlInt16) As SqlInt16

参数

x
SqlInt16

SqlInt16 结构。A SqlInt16 structure.

y
SqlInt16

SqlInt16 结构。A SqlInt16 structure.

返回

SqlInt16

一个 SqlInt16 结构,它的 Value 属性包含按位“或”运算的结果。A SqlInt16 structure whose Value property contains the results of the bitwise OR.

注解

此运算符的等效方法为 SqlInt16.BitwiseOr(SqlInt16, SqlInt16)The equivalent method for this operator is SqlInt16.BitwiseOr(SqlInt16, SqlInt16).

适用于