SqlString.Inequality(SqlString, SqlString) 運算子

定義

對兩個 SqlString 運算元進行邏輯比較,以判斷它們是否不相等。

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

參數

傳回

A SqlBoolean 是指 True 兩個實例不相等,或 False 是兩個實例相等。 若任一 為 SqlStringValue ,則 的 SqlBoolean 將為 Null

備註

此運算子的等價方法為 SqlString.NotEquals(SqlString, SqlString)

適用於

另請參閱