Partager via


Opérateur NameKey.Equality (Object, NameKey)

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

Espace de noms :  Microsoft.SqlServer.Management.IntegrationServices
Assembly :  Microsoft.SqlServer.Management.IntegrationServices (en Microsoft.SqlServer.Management.IntegrationServices.dll)

Syntaxe

'Déclaration
Public Shared Operator = ( _
    obj As Object, _
    rightOperand As NameKey _
) As Boolean
'Utilisation
Dim obj As Object 
Dim rightOperand As NameKey 
Dim returnValue As Boolean 

returnValue = (obj = rightOperand)
public static bool operator ==(
    Object obj,
    NameKey rightOperand
)
public:
static bool operator ==(
    Object^ obj, 
    NameKey^ rightOperand
)
static let inline(=)
        obj:Object * 
        rightOperand:NameKey  : bool
JScript prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.

Paramètres

  • obj
    Type : System.Object
    An object that specifies the first object to compare.

Valeur de retour

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

Voir aussi

Référence

NameKey Classe

Surcharge Equality

Espace de noms Microsoft.SqlServer.Management.IntegrationServices