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

指定したオブジェクト キーが 2 つ目のオブジェクト キーと等しくないかどうかを確認します。

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

構文

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

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

パラメーター

戻り値

型: System.Boolean
2 つのオペランドが等しくない場合は true、そうでない場合は false になる Boolean です。

関連項目

参照

Computer.Key クラス

Inequality オーバーロード

Microsoft.SqlServer.Management.Utility 名前空間