แก้ไข

แชร์ผ่าน


SqlDateTime.Equality(SqlDateTime, SqlDateTime) Operator

Definition

Performs a logical comparison of two SqlDateTime structures to determine whether they are 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 ( = ) : System.Data.SqlTypes.SqlDateTime * System.Data.SqlTypes.SqlDateTime -> System.Data.SqlTypes.SqlBoolean
Public Shared Operator == (x As SqlDateTime, y As SqlDateTime) As SqlBoolean

Parameters

x
SqlDateTime

A SqlDateTime structure.

y
SqlDateTime

A SqlDateTime structure.

Returns

true if the two values are equal. Otherwise, false.

Remarks

The equivalent method for this operator is SqlDateTime.Equals(SqlDateTime, SqlDateTime)

Applies to

See also