Location.Equality(Location, Location) 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
等於的相等運算符。
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
為 。