Aracılığıyla paylaş


DeviceIdiom.Equals Method

Definition

Overloads

Equals(DeviceIdiom)

Compares the underlying DeviceIdiom instances.

Equals(Object)

Checks the equality of the idiom.

Equals(DeviceIdiom)

Source:
DeviceIdiom.shared.cs
Source:
DeviceIdiom.shared.cs

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)

Source:
DeviceIdiom.shared.cs
Source:
DeviceIdiom.shared.cs

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