Share via


IdKey.Equality Operator

Definition

Determines whether the two key objects have the same value.

Overloads

Equality(IdKey, IdKey)

Indicates whether the key objects have the same value using the specified operands.

Equality(IdKey, Object)

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

Equality(Object, IdKey)

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

Equality(IdKey, IdKey)

Indicates whether the key objects have the same value using the specified operands.

public:
 static bool operator ==(Microsoft::SqlServer::Management::IntegrationServices::IdKey ^ leftOperand, Microsoft::SqlServer::Management::IntegrationServices::IdKey ^ rightOperand);
public static bool operator == (Microsoft.SqlServer.Management.IntegrationServices.IdKey leftOperand, Microsoft.SqlServer.Management.IntegrationServices.IdKey rightOperand);
static member ( = ) : Microsoft.SqlServer.Management.IntegrationServices.IdKey * Microsoft.SqlServer.Management.IntegrationServices.IdKey -> bool
Public Shared Operator == (leftOperand As IdKey, rightOperand As IdKey) As Boolean

Parameters

leftOperand
IdKey

A IdKey object that represents the left-hand side of the key to compare.

rightOperand
IdKey

A IdKey object that represents the right-hand side of the key to compare.

Returns

true if the key objects have the same value using the specified operands; otherwise, false.

Applies to

Equality(IdKey, Object)

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

public:
 static bool operator ==(Microsoft::SqlServer::Management::IntegrationServices::IdKey ^ leftOperand, System::Object ^ obj);
public static bool operator == (Microsoft.SqlServer.Management.IntegrationServices.IdKey leftOperand, object obj);
static member ( = ) : Microsoft.SqlServer.Management.IntegrationServices.IdKey * obj -> bool
Public Shared Operator == (leftOperand As IdKey, obj As Object) As Boolean

Parameters

leftOperand
IdKey

A IdKey object that represents the left-hand side of the key to compare.

obj
Object

The specified object.

Returns

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

Applies to

Equality(Object, IdKey)

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

public:
 static bool operator ==(System::Object ^ obj, Microsoft::SqlServer::Management::IntegrationServices::IdKey ^ rightOperand);
public static bool operator == (object obj, Microsoft.SqlServer.Management.IntegrationServices.IdKey rightOperand);
static member ( = ) : obj * Microsoft.SqlServer.Management.IntegrationServices.IdKey -> bool
Public Shared Operator == (obj As Object, rightOperand As IdKey) As Boolean

Parameters

obj
Object

The specified object.

rightOperand
IdKey

A IdKey object that represents the right-hand side of the key to compare.

Returns

true if the specified object and the right-hand side of the key are equal; otherwise, false.

Applies to