SqlSingle.Equality(SqlSingle, SqlSingle) 運算子

定義

執行兩個 SqlSingle 參數的邏輯比對,以判斷它們是否相等。Performs a logical comparison of the two SqlSingle parameters to determine whether they are equal.

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

參數

x
SqlSingle

SqlSingle 結構。A SqlSingle structure.

y
SqlSingle

SqlSingle 結構。A SqlSingle structure.

傳回

SqlBoolean,如果兩個執行個體相等,則為 True,如果兩個執行個體不相等,則為 FalseA SqlBoolean that is True if the two instances are equal or False if the two instances are not equal. 如果 SqlSingle 的任一執行個體是 null,則 ValueSqlBoolean 會是 NullIf either instance of SqlSingle is null, the Value of the SqlBoolean will be Null.

備註

這個運算子的對等方法是SqlSingle.EqualsThe equivalent method for this operator is SqlSingle.Equals.

適用於

另請參閱