次の方法で共有


NSUserActivity_MKMapItem.SetMapItem(NSUserActivity, MKMapItem) メソッド

定義

の mapkit 項目を にThisitem設定します。

[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

パラメーター

This
NSUserActivity

このメソッドが動作する NSUserActivity。

item
MKMapItem

新しい mapkit 項目。

属性

適用対象