다음을 통해 공유


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 항목입니다.

특성

적용 대상