Geopath Classe

Définition

Représente une série ordonnée de points géographiques.

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
Héritage
Object Platform::Object IInspectable Geopath
Attributs
Implémente

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)
Fonctionnalités de l’application
location

Constructeurs

Geopath(IIterable<BasicGeoposition>)

Initialise une nouvelle instance de la classe Geopath avec la collection de positions spécifiée.

Geopath(IIterable<BasicGeoposition>, AltitudeReferenceSystem)

Initialise une nouvelle instance de la classe Geopath avec la collection de positions spécifiée et avec le système de référence d’altitude spécifié.

Geopath(IIterable<BasicGeoposition>, AltitudeReferenceSystem, UInt32)

Initialise une nouvelle instance de la classe Geopath avec la collection de positions spécifiée et avec le système de référence d’altitude et l’ID de référence spatiale (SRID) spécifiés.

Propriétés

AltitudeReferenceSystem

Obtient le système de référence d’altitude utilisé par geopath.

GeoshapeType

Obtient le type de forme géographique représenté par geopath.

Positions

Obtient la collection de points géographiques qui définissent le Géopath.

SpatialReferenceId

Obtient l’ID de référence spatiale (SRID) utilisé par geopath.

S’applique à

Voir aussi