SqlInt32.Inequality(SqlInt32, SqlInt32) 运算符

定义

对两个 SqlInt32 参数执行逻辑比较,确定它们是否不相等。Performs a logical comparison of the two SqlInt32 parameters to determine whether they are not equal.

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

参数

x
SqlInt32

SqlInt32 结构。A SqlInt32 structure.

y
SqlInt32

SqlInt32 结构。A SqlInt32 structure.

返回

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

注解

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

适用于

另请参阅