SqlDateTime.Inequality(SqlDateTime, SqlDateTime) SqlDateTime.Inequality(SqlDateTime, SqlDateTime) SqlDateTime.Inequality(SqlDateTime, SqlDateTime) SqlDateTime.Inequality(SqlDateTime, SqlDateTime) Operator

定义

SqlDateTime 的两个实例执行逻辑比较,确定它们是否相等。Performs a logical comparison of two instances of SqlDateTime to determine whether they are not equal.

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

参数

返回

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

适用于

另请参阅