Computer.Key.Equality 运算符

定义

确定指定的对象键是否等于第二个对象键。

重载

Equality(Computer+Key, Computer+Key)

确定指定的对象键是否等于第二个对象键。

Equality(Computer+Key, Object)

确定指定的对象键是否等于该对象。

Equality(Object, Computer+Key)

确定指定的对象是否等于该对象键。

Equality(Computer+Key, Computer+Key)

确定指定的对象键是否等于第二个对象键。

public:
 static bool operator ==(Microsoft::SqlServer::Management::Utility::Computer::Key ^ leftOperand, Microsoft::SqlServer::Management::Utility::Computer::Key ^ rightOperand);
public static bool operator == (Microsoft.SqlServer.Management.Utility.Computer.Key leftOperand, Microsoft.SqlServer.Management.Utility.Computer.Key rightOperand);
static member ( = ) : Microsoft.SqlServer.Management.Utility.Computer.Key * Microsoft.SqlServer.Management.Utility.Computer.Key -> bool
Public Shared Operator == (leftOperand As Computer.Key, rightOperand As Computer.Key) As Boolean

参数

leftOperand
Computer.Key

一个要比较是否相等的 Computer.Key

rightOperand
Computer.Key

一个要比较是否相等的第二个 Computer.Key

返回

一个 Boolean。如果两个操作数相等,则为 true;否则为 false

适用于

Equality(Computer+Key, Object)

确定指定的对象键是否等于该对象。

public:
 static bool operator ==(Microsoft::SqlServer::Management::Utility::Computer::Key ^ leftOperand, System::Object ^ obj);
public static bool operator == (Microsoft.SqlServer.Management.Utility.Computer.Key leftOperand, object obj);
static member ( = ) : Microsoft.SqlServer.Management.Utility.Computer.Key * obj -> bool
Public Shared Operator == (leftOperand As Computer.Key, obj As Object) As Boolean

参数

leftOperand
Computer.Key

一个要比较是否相等的 Computer.Key

obj
Object

一个要比较是否相等的 Object

返回

一个 Boolean。如果两个操作数相等,则为 true;否则为 false

适用于

Equality(Object, Computer+Key)

确定指定的对象是否等于该对象键。

public:
 static bool operator ==(System::Object ^ obj, Microsoft::SqlServer::Management::Utility::Computer::Key ^ rightOperand);
public static bool operator == (object obj, Microsoft.SqlServer.Management.Utility.Computer.Key rightOperand);
static member ( = ) : obj * Microsoft.SqlServer.Management.Utility.Computer.Key -> bool
Public Shared Operator == (obj As Object, rightOperand As Computer.Key) As Boolean

参数

obj
Object

一个要比较是否相等的 Object

rightOperand
Computer.Key

一个要比较是否相等的 Computer.Key

返回

一个 Boolean。如果两个操作数相等,则为 true;否则为 false

适用于