共用方式為


Geopath 類別

定義

表示已排序的地理點數列。

public ref class Geopath sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Geolocation.IGeopathFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class Geopath final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Geolocation.IGeopathFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class Geopath final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Geolocation.IGeopathFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class Geopath
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Geolocation.IGeopathFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class Geopath
function Geopath(positions, altitudeReferenceSystem, spatialReferenceId)
Public NotInheritable Class Geopath
繼承
Object Platform::Object IInspectable Geopath
屬性
實作

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
應用程式功能
location

建構函式

Geopath(IIterable<BasicGeoposition>)

使用指定的位置集合,初始化 Geopath 類別的新實例。

Geopath(IIterable<BasicGeoposition>, AltitudeReferenceSystem)

使用指定的位置和指定的高度參考系統,初始化 Geopath 類別的新實例。

Geopath(IIterable<BasicGeoposition>, AltitudeReferenceSystem, UInt32)

使用指定的位置集合,以及指定的高度參考系統和空間參考識別碼, (SRID) ,初始化 Geopath 類別的新實例。

屬性

AltitudeReferenceSystem

取得 Geopath所使用的高度參考系統。

GeoshapeType

取得 Geopath所代表的地理圖形類型。

Positions

取得定義 Geopath的地理點集合。

SpatialReferenceId

取得 Geopath所使用的空間參考識別碼 (SRID) 。

適用於

另請參閱