Location.Equality(Location, Location) 操作员

定义

相等运算符。

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

参数

left
Location

要比较的左。

right
Location

要比较的权利。

返回

true 如果 对象相等,则为 ;否则为 false

适用于