Share via


DeviceIdiom.Equals Method

Definition

Overloads

Equals(DeviceIdiom)

Compares the underlying DeviceIdiom instances.

Equals(Object)

Checks the equality of the idiom.

Equals(DeviceIdiom)

Compares the underlying DeviceIdiom instances.

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

Parameters

other
DeviceIdiom

DeviceIdiom object to compare with.

Returns

true if they are equal, otherwise false.

Implements

Applies to

Equals(Object)

Checks the equality of the idiom.

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 ot compare.

Returns

If the values are equal

Applies to