SqlInt16.Equality(SqlInt16, SqlInt16) 运算符
定义
public:
static System::Data::SqlTypes::SqlBoolean operator ==(System::Data::SqlTypes::SqlInt16 x, System::Data::SqlTypes::SqlInt16 y);
public static System.Data.SqlTypes.SqlBoolean operator == (System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y);
static member ( = ) : System.Data.SqlTypes.SqlInt16 * System.Data.SqlTypes.SqlInt16 -> System.Data.SqlTypes.SqlBoolean
Public Shared Operator == (x As SqlInt16, y As SqlInt16) As SqlBoolean
参数
返回
一个 SqlBoolean,它在两个实例相等时为 True,在两个实例不等时为 False。A SqlBoolean that is True if the two instances are equal or False if the two instances are not equal. 如果 SqlInt16 的任一实例为空,则 Value 的 SqlBoolean 将为 Null。If either instance of SqlInt16 is null, the Value of the SqlBoolean will be Null.
注解
此运算符的等效方法为 SqlInt16.Equals(SqlInt16, SqlInt16) 。The equivalent method for this operator is SqlInt16.Equals(SqlInt16, SqlInt16).