Distance.BetweenPositions(Location, Location) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
static Microsoft::Maui::Maps::Distance BetweenPositions(Microsoft::Maui::Devices::Sensors::Location ^ position1, Microsoft::Maui::Devices::Sensors::Location ^ position2);
public static Microsoft.Maui.Maps.Distance BetweenPositions (Microsoft.Maui.Devices.Sensors.Location position1, Microsoft.Maui.Devices.Sensors.Location position2);
static member BetweenPositions : Microsoft.Maui.Devices.Sensors.Location * Microsoft.Maui.Devices.Sensors.Location -> Microsoft.Maui.Maps.Distance
Public Shared Function BetweenPositions (position1 As Location, position2 As Location) As Distance
參數
- position1
- Location
- position2
- Location