DataEventColumnInfo.Key.Inequality 運算子 (DataEventColumnInfo.Key, DataEventColumnInfo.Key)
Implements the operator != used to test inequality between two instances of DataEventColumnInfo.Key.
命名空間: Microsoft.SqlServer.Management.XEvent
組件: Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)
語法
'宣告
Public Shared Operator <> ( _
leftOperand As DataEventColumnInfo.Key, _
rightOperand As DataEventColumnInfo.Key _
) As Boolean
'用途
Dim leftOperand As DataEventColumnInfo.Key
Dim rightOperand As DataEventColumnInfo.Key
Dim returnValue As Boolean
returnValue = (leftOperand <> rightOperand)
public static bool operator !=(
DataEventColumnInfo.Key leftOperand,
DataEventColumnInfo.Key rightOperand
)
public:
static bool operator !=(
DataEventColumnInfo.Key^ leftOperand,
DataEventColumnInfo.Key^ rightOperand
)
static let inline(<>)
leftOperand:DataEventColumnInfo.Key *
rightOperand:DataEventColumnInfo.Key : bool
JScript 支援多載運算子的使用,但不支援新運算子的宣告。
參數
- leftOperand
型別:Microsoft.SqlServer.Management.XEvent.DataEventColumnInfo.Key
An instance of DataEventColumnInfo.Key.
- rightOperand
型別:Microsoft.SqlServer.Management.XEvent.DataEventColumnInfo.Key
An instance of DataEventColumnInfo.Key.
傳回值
型別:System.Boolean
Returns false if the left operand is not equal to the right operand; otherwise, true.