MapControlTransitFeatureClickEventArgs Class

Definition

Provides data for the TransitFeatureClick event.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about this API and the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

public ref class MapControlTransitFeatureClickEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(131072, "Windows.Services.Maps.LocalSearchContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Maps.LocalSearchContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MapControlTransitFeatureClickEventArgs final
[Windows.Foundation.Metadata.Activatable(131072, "Windows.Services.Maps.LocalSearchContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Maps.LocalSearchContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MapControlTransitFeatureClickEventArgs
Public NotInheritable Class MapControlTransitFeatureClickEventArgs
Inheritance
Object Platform::Object IInspectable MapControlTransitFeatureClickEventArgs
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10586.0)
Windows Mobile Extension SDK (introduced in 10.0.10586.0)
API contract
Windows.Services.Maps.LocalSearchContract (introduced in v2.0)

Constructors

MapControlTransitFeatureClickEventArgs()

Initializes a new instance of the MapControlTransitFeatureClickEventArgs class.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about this API and the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

Properties

DisplayName

Gets the name of the transit feature.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about this API and the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

Location

Gets the geographic location of the transit feature.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about this API and the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

TransitProperties

Gets the property bag for the transit feature.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about this API and the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

Applies to