Share via


Volume.Key.Equality Operator (Volume.Key, Volume.Key)

Determines whether the two key objects have the same value using specified operands.

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    leftOperand As Volume..::..Key, _
    rightOperand As Volume..::..Key _
) As Boolean
'Usage
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 supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
true if the objects are the same; otherwise, false.