Metodo NameKey.Equals (Object, Object)

Determines whether the two specified objects are equal.

Spazio dei nomi  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Sintassi

'Dichiarazione
Public Shared Function Equals ( _
    obj1 As Object, _
    obj2 As Object _
) As Boolean
'Utilizzo
Dim obj1 As Object 
Dim obj2 As Object 
Dim returnValue As Boolean 

returnValue = NameKey.Equals(obj1, obj2)
public static bool Equals(
    Object obj1,
    Object obj2
)
public:
static bool Equals(
    Object^ obj1, 
    Object^ obj2
)
static member Equals : 
        obj1:Object * 
        obj2:Object -> bool
public static function Equals(
    obj1 : Object, 
    obj2 : Object
) : boolean

Parametri

  • obj1
    Tipo: System.Object
    Specifies the first object to compare.
  • obj2
    Tipo: System.Object
    Specifies the second object to compare.

Valore restituito

Tipo: System.Boolean
A Boolean value that indicates whether the two objects are equal. If True, both objects are equal; otherwise, False.

Vedere anche

Riferimento

NameKey Classe

Overload Equals

Spazio dei nomi Microsoft.SqlServer.Management.Utility