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

要比较相等的 A Computer.Key

rightOperand
Computer.Key

一秒钟 Computer.Key 来比较,以确认平等。

返回

A 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

要比较相等的 A Computer.Key

obj
Object

要比较相等的 A Object

返回

A 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

要比较相等的 A Object

rightOperand
Computer.Key

要比较相等的 A Computer.Key

返回

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

适用于