다음을 통해 공유


Equals 메서드 (Object, Object)

Determines the specified objects are equal.

네임스페이스:  Microsoft.SqlServer.Management.Utility
어셈블리:  Microsoft.SqlServer.Management.Utility(Microsoft.SqlServer.Management.Utility.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 = 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

매개 변수

반환 값

유형: System. . :: . .Boolean
A Boolean value indicating whether the two objects are equal. Returns true if the objects are the same and not nullNothingnullptrunitnull 참조(Visual Basic에서는 Nothing). Otherwise, false.