Share via


DevicePlatform.Equals Method

Definition

Overloads

Equals(DevicePlatform)

Compares the underlying DevicePlatform instances.

Equals(Object)

Checks the equality of the platform.

Equals(DevicePlatform)

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

Compares the underlying DevicePlatform instances.

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

Parameters

other
DevicePlatform

DevicePlatform object to compare with.

Returns

true if they are equal, otherwise false.

Implements

Applies to

Equals(Object)

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

Checks the equality of the platform.

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

Parameters

obj
Object

The object compare

Returns

If they are equal

Applies to