Condividi tramite


NSUserActivity_MKMapItem.SetMapItem(NSUserActivity, MKMapItem) Metodo

Definizione

Imposta l'elemento mapkit su Thisitemsu .

[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

Parametri

This
NSUserActivity

NSUserActivity su cui opera questo metodo.

item
MKMapItem

Nuovo elemento mapkit.

Attributi

Si applica a