Utility.Key.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 nullnull 引用(在 Visual Basic 中为 Nothing). Otherwise, false.

请参阅

参考

Utility.Key 类

Equals 重载

Microsoft.SqlServer.Management.Utility 命名空间