編輯

共用方式為


NSUserActivity_MKMapItem.GetMapItem(NSUserActivity) Method

Definition

Gets the mapkit item on This.

[Foundation.Export("mapItem")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public static MapKit.MKMapItem GetMapItem (this Foundation.NSUserActivity This);
static member GetMapItem : Foundation.NSUserActivity -> MapKit.MKMapItem

Parameters

This
NSUserActivity

The NSUserActivity on which this method operates.

Returns

Attributes

Applies to