Share via


IdKey.Equality Operator (IdKey, Object)

Indicates whether the specified object and the left-hand side of the key are equal.

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

Syntax

'Declaration
Public Shared Operator = ( _
    leftOperand As IdKey, _
    obj As Object _
) As Boolean
'Usage
Dim leftOperand As IdKey 
Dim obj As Object 
Dim returnValue As Boolean 

returnValue = (leftOperand = obj)
public static bool operator ==(
    IdKey leftOperand,
    Object obj
)
public:
static bool operator ==(
    IdKey^ leftOperand, 
    Object^ obj
)
static let inline(=)
        leftOperand:IdKey * 
        obj:Object  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
true if the specified object and the left-hand side of the key are equal; otherwise, false.

See Also

Reference

IdKey Class

Equality Overload

Microsoft.SqlServer.Management.IntegrationServices Namespace