共用方式為


NameKey.Equality Operator

Definition

Determines whether two objects are the same.

Overloads

Equality(NameKey, NameKey)

Determines whether the objects represented by the two specified NameKey values are the same.

Equality(NameKey, Object)

Determines whether the object represented by the specified NameKey is the same as the specified Object.

Equality(Object, NameKey)

Determines whether the specified Object is the same as the object represented by the specified NameKey.

Equality(NameKey, NameKey)

Determines whether the objects represented by the two specified NameKey values are the same.

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

Parameters

leftOperand
NameKey

The first object to compare.

rightOperand
NameKey

The second object to compare.

Returns

True if the two objects are the same; otherwise, false.

Applies to

Equality(NameKey, Object)

Determines whether the object represented by the specified NameKey is the same as the specified Object.

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

Parameters

leftOperand
NameKey

A NameKey object that represents the first object to compare.

obj
Object

An object that specifies the second object to compare.

Returns

True if the two objects are the same; otherwise, false.

Applies to

Equality(Object, NameKey)

Determines whether the specified Object is the same as the object represented by the specified NameKey.

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

Parameters

obj
Object

An object that specifies the first object to compare.

rightOperand
NameKey

A NameKey object that represents the second object to compare.

Returns

True if the two objects are the same; otherwise, false.

Applies to