DevicePlatform.Equals 方法

定义

重载

Equals(DevicePlatform)

比较基础 DevicePlatform 实例。

Equals(Object)

检查平台是否相等。

Equals(DevicePlatform)

Source:
DevicePlatform.shared.cs
Source:
DevicePlatform.shared.cs
Source:
DevicePlatform.shared.cs

比较基础 DevicePlatform 实例。

public:
 virtual bool Equals(Microsoft::Maui::Devices::DevicePlatform other);
public bool Equals(Microsoft.Maui.Devices.DevicePlatform other);
override this.Equals : Microsoft.Maui.Devices.DevicePlatform -> bool
Public Function Equals (other As DevicePlatform) As Boolean

参数

other
DevicePlatform

DevicePlatform 要与之比较的对象。

返回

true 如果它们相等,则为 ;否则为 false

实现

适用于

Equals(Object)

Source:
DevicePlatform.shared.cs
Source:
DevicePlatform.shared.cs
Source:
DevicePlatform.shared.cs

检查平台是否相等。

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals(object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

参数

obj
Object

对象比较

返回

如果它们相等

适用于