PredSourceInfo.Key.Inequality 演算子 (PredSourceInfo.Key, PredSourceInfo.Key)

PredCompareInfo.Key オブジェクトが PredCompareInfo.Key オブジェクトと等しくないかどうかを確認します。

名前空間:  Microsoft.SqlServer.Management.XEvent
アセンブリ:  Microsoft.SqlServer.Management.XEvent (Microsoft.SqlServer.Management.XEvent.dll)

構文

'宣言
Public Shared Operator <> ( _
    leftOperand As PredSourceInfo.Key, _
    rightOperand As PredSourceInfo.Key _
) As Boolean
'使用
Dim leftOperand As PredSourceInfo.Key 
Dim rightOperand As PredSourceInfo.Key 
Dim returnValue As Boolean 

returnValue = (leftOperand <> rightOperand)
public static bool operator !=(
    PredSourceInfo.Key leftOperand,
    PredSourceInfo.Key rightOperand
)
public:
static bool operator !=(
    PredSourceInfo.Key^ leftOperand, 
    PredSourceInfo.Key^ rightOperand
)
static let inline(<>)
        leftOperand:PredSourceInfo.Key * 
        rightOperand:PredSourceInfo.Key  : bool
JScript はオーバーロードされた演算子の使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

戻り値

型: System.Boolean
2 つのオブジェクトの非等価演算の実行結果を示すブール値です。2 つのオブジェクトが等しくない場合は True、それ以外の場合は False です。

関連項目

参照

PredSourceInfo.Key クラス

Inequality オーバーロード

Microsoft.SqlServer.Management.XEvent 名前空間