NSUserActivity_MKMapItem.SetMapItem(NSUserActivity, MKMapItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the mapkit item on This
to item
.
[Foundation.Export("setMapItem:")]
[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 void SetMapItem (this Foundation.NSUserActivity This, MapKit.MKMapItem item);
static member SetMapItem : Foundation.NSUserActivity * MapKit.MKMapItem -> unit
Parameters
- This
- NSUserActivity
The NSUserActivity on which this method operates.
- item
- MKMapItem
The new mapkit item.
- Attributes