Método Utility.Key.Equals (Object, Object)
Determines the specified objects are equal.
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (em Microsoft.SqlServer.Management.Utility.dll)
Sintaxe
'Declaração
Public Shared Function Equals ( _
obj1 As Object, _
obj2 As Object _
) As Boolean
'Uso
Dim obj1 As Object
Dim obj2 As Object
Dim returnValue As Boolean
returnValue = Utility.Key.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
Parâmetros
- obj1
Tipo: System.Object
Specifies the first Object to be compared.
- obj2
Tipo: System.Object
Specifies the second Object to be compared.
Valor de retorno
Tipo: System.Boolean
A Boolean value indicating whether the two objects are equal. Returns true if the objects are the same and not nulluma referência nula (Nothing no Visual Basic). Otherwise, false.