Поделиться через


Метод Equals (Object, Object)

Determines whether two objects are equal.

Пространство имен:  Microsoft.SqlServer.Management.Dmf
Сборка:  Microsoft.SqlServer.Dmf (в Microsoft.SqlServer.Dmf.dll)

Синтаксис

'Декларация
Public Shared Function Equals ( _
    obj1 As Object, _
    obj2 As Object _
) As Boolean
'Применение
Dim obj1 As Object
Dim obj2 As Object
Dim returnValue As Boolean

returnValue = Policy..::..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

Параметры

Возвращаемое значение

Тип: System. . :: . .Boolean
A Boolean value that is true if the objects are equal. Otherwise, false.