SqlByte.Equality(SqlByte, SqlByte) 运算符

定义

对两个 SqlByte 结构执行逻辑比较,以确定它们是否相等。Performs a logical comparison of two SqlByte structures to determine whether they are equal.

public:
 static System::Data::SqlTypes::SqlBoolean operator ==(System::Data::SqlTypes::SqlByte x, System::Data::SqlTypes::SqlByte y);
public static System.Data.SqlTypes.SqlBoolean operator == (System.Data.SqlTypes.SqlByte x, System.Data.SqlTypes.SqlByte y);
static member ( = ) : System.Data.SqlTypes.SqlByte * System.Data.SqlTypes.SqlByte -> System.Data.SqlTypes.SqlBoolean
Public Shared Operator == (x As SqlByte, y As SqlByte) As SqlBoolean

参数

x
SqlByte

SqlByte 结构。A SqlByte structure.

y
SqlByte

SqlByte 结构。A SqlByte structure.

返回

SqlBoolean

一个 SqlBoolean,它在两个实例相等时为 True,在两个实例不等时为 FalseA SqlBoolean that is True if the two instances are equal or False if the two instances are not equal. 如果 SqlByte 的任一实例为空,则 ValueSqlBoolean 将为 NullIf either instance of SqlByte is null, the Value of the SqlBoolean will be Null.

注解

此运算符的等效方法是 SqlByte.Equals(SqlByte, SqlByte)The equivalent method for this operator is SqlByte.Equals(SqlByte, SqlByte)

适用于