Volume.Key.Equality 演算子 (Volume.Key, Volume.Key)
指定したオペランドを使用して、2 つのキー オブジェクトが同一の値を持っているかどうかを判定します。
名前空間: Microsoft.SqlServer.Management.Utility
アセンブリ: Microsoft.SqlServer.Management.Utility (Microsoft.SqlServer.Management.Utility.dll)
構文
'宣言
Public Shared Operator = ( _
leftOperand As Volume.Key, _
rightOperand As Volume.Key _
) As Boolean
'使用
Dim leftOperand As Volume.Key
Dim rightOperand As Volume.Key
Dim returnValue As Boolean
returnValue = (leftOperand = rightOperand)
public static bool operator ==(
Volume.Key leftOperand,
Volume.Key rightOperand
)
public:
static bool operator ==(
Volume.Key^ leftOperand,
Volume.Key^ rightOperand
)
static let inline(=)
leftOperand:Volume.Key *
rightOperand:Volume.Key : bool
JScript はオーバーロードされた演算子の使用をサポートしていますが、新規の宣言はサポートしていません。
パラメーター
- leftOperand
型: Microsoft.SqlServer.Management.Utility.Volume.Key
等値演算子の左側のオペランド オブジェクトです。
- rightOperand
型: Microsoft.SqlServer.Management.Utility.Volume.Key
等値演算子の右側のオペランド オブジェクトです。
戻り値
型: System.Boolean
オブジェクトが等しい場合は true、それ以外の場合は false です。