Share via


Location.Equality(Location, Location) Operator

Definition

Equality operator for equals.

public:
 static bool operator ==(Microsoft::Maui::Devices::Sensors::Location ^ left, Microsoft::Maui::Devices::Sensors::Location ^ right);
public static bool operator == (Microsoft.Maui.Devices.Sensors.Location left, Microsoft.Maui.Devices.Sensors.Location right);
static member ( = ) : Microsoft.Maui.Devices.Sensors.Location * Microsoft.Maui.Devices.Sensors.Location -> bool
Public Shared Operator == (left As Location, right As Location) As Boolean

Parameters

left
Location

Left to compare.

right
Location

Right to compare.

Returns

true if objects are equal, otherwise false.

Applies to